[Pm-utils] [PATCH 06/17] Removed redundant exit status codes from 05led

Victor Lowther victor.lowther at gmail.com
Mon Feb 11 13:49:02 PST 2008


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

diff --git a/pm/sleep.d/05led b/pm/sleep.d/05led
index 5b4f7b6..92b2cb7 100755
--- a/pm/sleep.d/05led
+++ b/pm/sleep.d/05led
@@ -1,6 +1,6 @@
 #!/bin/sh
 
-[ -f /proc/acpi/ibm/led ] || exit 1
+[ -f /proc/acpi/ibm/led ] || exit
 
 case "$1" in
 	hibernate|suspend)
@@ -12,5 +12,3 @@ case "$1" in
 	*)
 		;;
 esac
-
-exit $?
-- 
1.5.3.8



More information about the Pm-utils mailing list