[Pm-utils] [PATCH 17/17] Removed redundant calls to exit in pm-is-supported.in

Victor Lowther victor.lowther at gmail.com
Mon Feb 11 14:04:35 PST 2008


---
 src/pm-is-supported.in |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)

diff --git a/src/pm-is-supported.in b/src/pm-is-supported.in
index 62947f7..68e246e 100644
--- a/src/pm-is-supported.in
+++ b/src/pm-is-supported.in
@@ -27,10 +27,8 @@ ARG="$(echo ${1#--}|tr - _)"
 
 case "$ARG" in
 	suspend|hibernate|suspend_hybrid)
-		"check_$ARG"; exit $? ;;
+		"check_$ARG" ;;
 	help) 	help_options ;;
 	*) 	help_options 1>&2
 		exit 1 ;;
 esac
-
-exit 0
-- 
1.5.3.8



More information about the Pm-utils mailing list