summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/pm-powersave.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pm-powersave.in b/src/pm-powersave.in
index f6cea14..5098cf8 100644
--- a/src/pm-powersave.in
+++ b/src/pm-powersave.in
@@ -28,7 +28,7 @@ POWERSAVE_LOGFILE="/dev/null"
export PM_FUNCTIONS="@PM-UTILS-LIBDIR@/functions"
. "${PM_FUNCTIONS}"
-if [ "x$1" = "xtrue" -o "x$1" = "xfalse" ] ; then
+if [ "$1" = "true" -o "$1" = "false" ] ; then
init_logfile "${POWERSAVE_LOGFILE}"
run_hooks power "$1"
else