aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xrc.shutdown2
1 files changed, 1 insertions, 1 deletions
diff --git a/rc.shutdown b/rc.shutdown
index d366423..96611b7 100755
--- a/rc.shutdown
+++ b/rc.shutdown
@@ -73,7 +73,7 @@ fi
HWCLOCK_PARAMS="--systohc"
if [ "$HARDWARECLOCK" = "UTC" ]; then
HWCLOCK_PARAMS="$HWCLOCK_PARAMS --utc"
-elif
+elif [ "$HARDWARECLOCK" = "localtime" ]; then
HWCLOCK_PARAMS="$HWCLOCK_PARAMS --localtime"
else
HWCLOCK_PARAMS=""