aboutsummaryrefslogtreecommitdiffstats
path: root/chapter07/setclock.xml
diff options
context:
space:
mode:
Diffstat (limited to 'chapter07/setclock.xml')
-rw-r--r--chapter07/setclock.xml5
1 files changed, 4 insertions, 1 deletions
diff --git a/chapter07/setclock.xml b/chapter07/setclock.xml
index 994626de6..b68fc317f 100644
--- a/chapter07/setclock.xml
+++ b/chapter07/setclock.xml
@@ -48,7 +48,10 @@ CLOCKPARAMS="--hctosys"
case "$UTC" in
yes|true|1)
- CLOCKPARAMS="$CLOCKPARAMS -u"
+ CLOCKPARAMS="$CLOCKPARAMS --utc"
+ ;;
+ no|false|0)
+ CLOCKPARAMS="$CLOCKPARAMS --localtime"
;;
esac