aboutsummaryrefslogtreecommitdiff
path: root/rc.shutdown
diff options
context:
space:
mode:
Diffstat (limited to 'rc.shutdown')
-rwxr-xr-xrc.shutdown2
1 files changed, 1 insertions, 1 deletions
diff --git a/rc.shutdown b/rc.shutdown
index b0d8195..e2a4a84 100755
--- a/rc.shutdown
+++ b/rc.shutdown
@@ -80,7 +80,7 @@ elif [ "$HARDWARECLOCK" = "localtime" ]; then
else
HWCLOCK_PARAMS=""
fi
-if [ "$HWCLOCK_PARAMS" != "" ]; then
+if [ -n "$HWCLOCK_PARAMS" ]; then
/sbin/hwclock $HWCLOCK_PARAMS
fi
stat_done