[Pm-utils] [PATCH 13/17] Modify 95led to exit $NA where applicable.

Victor Lowther victor.lowther at gmail.com
Sat Feb 16 12:30:21 PST 2008


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

diff --git a/pm/sleep.d/95led b/pm/sleep.d/95led
index d1d769d..20fb64a 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 $NA
 
 case "$1" in
 	thaw|resume)
@@ -10,4 +10,4 @@ case "$1" in
 		;;
 esac
 
-exit $?
+exit $NA
-- 
1.5.3.8



More information about the Pm-utils mailing list