From 84d971f5000e400894e7a1fbbb4397cd7c09d7cd Mon Sep 17 00:00:00 2001 From: Victor Lowther Date: Sat, 9 Feb 2008 20:12:08 -0600 Subject: No need for extra x's in comparisons in pm-powersave.in --- src/pm-powersave.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3