summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorVictor Lowther <victor.lowther@gmail.com>2008-02-09 20:12:08 -0600
committerVictor Lowther <victor.lowther@gmail.com>2008-02-09 20:12:08 -0600
commit84d971f5000e400894e7a1fbbb4397cd7c09d7cd (patch)
tree4fc2276e649547d4f404632303b2edece40c3625 /src
parentf3fa39954440adf512b624e137e2d181dc24939b (diff)
No need for extra x's in comparisons in pm-powersave.in
Diffstat (limited to 'src')
-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