---
 src/pm-powersave.in |    2 +-
 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
-- 
1.5.3.8

_______________________________________________
Pm-utils mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/pm-utils

Reply via email to