[PATCH 09/10] hal: Clean up scripts in tools
Victor Lowther
victor.lowther at gmail.com
Tue Mar 25 18:49:02 PDT 2008
Quoting and numeric comparisons in hal-system-power-shutdown
---
tools/hal-system-power-shutdown | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/tools/hal-system-power-shutdown b/tools/hal-system-power-shutdown
index cf0b729..993da9c 100755
--- a/tools/hal-system-power-shutdown
+++ b/tools/hal-system-power-shutdown
@@ -2,7 +2,7 @@
. hal-functions
-if [ "$CK_NUM_SESSIONS" -gt "1" ] ; then
+if [ $CK_NUM_SESSIONS -gt 1 ] ; then
hal_check_priv org.freedesktop.hal.power-management.shutdown-multiple-sessions
else
hal_check_priv org.freedesktop.hal.power-management.shutdown
--
1.5.4.3
More information about the hal
mailing list