---
 pm/sleep.d/94cpufreq |    7 ++-----
 1 files changed, 2 insertions(+), 5 deletions(-)

diff --git a/pm/sleep.d/94cpufreq b/pm/sleep.d/94cpufreq
index 2783c74..12dfc1f 100755
--- a/pm/sleep.d/94cpufreq
+++ b/pm/sleep.d/94cpufreq
@@ -2,8 +2,7 @@
 
 . "${PM_FUNCTIONS}"
 
-
-[ -d /sys/devices/system/cpu/ ] || exit 1
+[ -d /sys/devices/system/cpu/ ] || exit $NA
 
 hibernate_cpufreq()
 {
@@ -35,8 +34,6 @@ case "$1" in
        resume|thaw)
                thaw_cpufreq
                ;;
-       *)
+       *) exit $NA
                ;;
 esac
-
-exit $?
-- 
1.5.3.8

_______________________________________________
Pm-utils mailing list
Pm-utils@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/pm-utils

Reply via email to