aboutsummaryrefslogtreecommitdiff
path: root/rc.sysinit
diff options
context:
space:
mode:
authorThomas Bächler <thomas@archlinux.org>2008-04-13 18:32:43 +0200
committerThomas Bächler <thomas@archlinux.org>2008-04-13 18:32:43 +0200
commitaf36e8dd3c025d7593bda4f310612989927149d1 (patch)
tree245a84142f81aff21494eec2eb3532dc7768ec89 /rc.sysinit
parent521d7678cecb3018923f7c869bc8a5f74dc29268 (diff)
downloadinitscripts-af36e8dd3c025d7593bda4f310612989927149d1.tar.xz
Always quote $TIMEZONE to fix FS#10178
Diffstat (limited to 'rc.sysinit')
-rwxr-xr-xrc.sysinit2
1 files changed, 1 insertions, 1 deletions
diff --git a/rc.sysinit b/rc.sysinit
index d03be06..8ace8d3 100755
--- a/rc.sysinit
+++ b/rc.sysinit
@@ -310,7 +310,7 @@ if [ ! -f /var/lib/hwclock/adjtime ]; then
fi
if [ "$TIMEZONE" != "" -a -e "/usr/share/zoneinfo/$TIMEZONE" ]; then
/bin/rm -f /etc/localtime
- /bin/cp /usr/share/zoneinfo/$TIMEZONE /etc/localtime
+ /bin/cp "/usr/share/zoneinfo/$TIMEZONE" /etc/localtime
fi
/sbin/hwclock $HWCLOCK_PARAMS