[Pm-utils] [PATCH 13/17] Remove redundant exit from 94cpufreq

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


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

diff --git a/pm/sleep.d/94cpufreq b/pm/sleep.d/94cpufreq
index 2783c74..dfc57d4 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
 
 hibernate_cpufreq()
 {
@@ -38,5 +37,3 @@ case "$1" in
 	*)
 		;;
 esac
-
-exit $?
-- 
1.5.3.8



More information about the Pm-utils mailing list