[Pm-utils] [PATCH 11/17] Get rid of redundant exit in 65alsa.

Victor Lowther victor.lowther at gmail.com
Thu Feb 14 20:40:24 PST 2008


---
 pm/sleep.d/65alsa |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)

diff --git a/pm/sleep.d/65alsa b/pm/sleep.d/65alsa
index 35da00d..d28bfc3 100755
--- a/pm/sleep.d/65alsa
+++ b/pm/sleep.d/65alsa
@@ -2,7 +2,7 @@
 
 . "${PM_FUNCTIONS}"
 
-command_exists alsactl || exit 1
+command_exists alsactl || exit
 
 case "$1" in
 	hibernate|suspend)
@@ -14,5 +14,3 @@ case "$1" in
 	*)
 		;;
 esac
-
-exit $?
-- 
1.5.3.8



More information about the Pm-utils mailing list