[Pm-utils] [PATCH 3/4] ...and make it check in the case statement too. :|

Victor Lowther victor.lowther at gmail.com
Thu Feb 7 20:33:48 PST 2008


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

diff --git a/src/pm-is-supported.in b/src/pm-is-supported.in
index 6538a52..62947f7 100755
--- a/src/pm-is-supported.in
+++ b/src/pm-is-supported.in
@@ -26,7 +26,7 @@ help_options() {
 ARG="$(echo ${1#--}|tr - _)"
 
 case "$ARG" in
-	suspend|hibernate|suspend-hybrid)
+	suspend|hibernate|suspend_hybrid)
 		"check_$ARG"; exit $? ;;
 	help) 	help_options ;;
 	*) 	help_options 1>&2
-- 
1.5.3.8



More information about the Pm-utils mailing list