[Pm-utils] [PATCH 14/17] Remove redundant exit call from 95led

Victor Lowther victor.lowther at gmail.com
Mon Feb 11 14:00:19 PST 2008


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

diff --git a/pm/sleep.d/95led b/pm/sleep.d/95led
index d1d769d..722a7a4 100755
--- a/pm/sleep.d/95led
+++ b/pm/sleep.d/95led
@@ -1,6 +1,6 @@
 #!/bin/sh
 
-[ -f /proc/acpi/ibm/led ] || exit 1
+[ -f /proc/acpi/ibm/led ] || exit
 
 case "$1" in
 	thaw|resume)
@@ -9,5 +9,3 @@ case "$1" in
 	*)
 		;;
 esac
-
-exit $?
-- 
1.5.3.8



More information about the Pm-utils mailing list