[Pkg-alsa-devel] Bug#238994: alsa-base: /etc/apm.event.d/alsa is buggy: typo

Harald Staub Harald Staub <staub@switch.ch>, 238994@bugs.debian.org
Fri, 16 Apr 2004 22:44:35 +0200


Package: alsa-base
Version: 1.0.4-1

There is a small typo in the new /etc/apm/event.d/alsa script, which kills 
suspended processes instead of resuming them:

:/etc/apm/event.d# diff -u alsa alsa.new
--- alsa        2004-04-14 00:21:38.000000000 +0200
+++ alsa.new    2004-04-16 22:25:15.557848720 +0200
@@ -27,7 +27,7 @@
          alsactl restore || true
         elif [ "$force_stop_modules_before_suspend" = "stop-procs" ]; then
                 if [ -d /proc/asound ]; then
-                       fuser -k CONT $devices
+                       fuser -k -CONT $devices
                 fi
         fi
  fi