summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rwxr-xr-xsrc/pm-is-supported.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pm-is-supported.in b/src/pm-is-supported.in
index af2f2cf..6538a52 100755
--- a/src/pm-is-supported.in
+++ b/src/pm-is-supported.in
@@ -23,7 +23,7 @@ help_options() {
echo
}
-ARG="${1#--}"
+ARG="$(echo ${1#--}|tr - _)"
case "$ARG" in
suspend|hibernate|suspend-hybrid)