summaryrefslogtreecommitdiff
path: root/rc.shutdown
diff options
context:
space:
mode:
authorAllan McRae <allan@archlinux.org>2009-07-18 14:20:55 +1000
committerAllan McRae <allan@archlinux.org>2009-07-18 14:20:55 +1000
commit28d34292a9a8a03ea78a909ccb1d8d50ee21d0bb (patch)
tree6eb6b96c6cef95110c7b1ad7b5a6cf99b1c1a33d /rc.shutdown
parentda966f2da8fc670e17f753b22b1365fdd72e1499 (diff)
Fix incomplete elif statement2009.07-2
Commit 92cbc62e introduced an incomplete elif statement which caues shutdown to fail. Signed-off-by: Allan McRae <allan@archlinux.org>
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 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=""