base-files: sysfixtime typo in exclude dnsmasq.time

Typo, missing space before ] in previous commit caused shell syntax
failure and incorrect restoration of time.

Signed-off-by: Kevin Darbyshire-Bryant <kevin@darbyshire-bryant.me.uk>
This commit is contained in:
Kevin Darbyshire-Bryant 2016-05-19 16:57:19 +01:00 committed by Jo-Philipp Wich
parent 1ea7dba377
commit 8d105653b1

View file

@ -28,7 +28,7 @@ maxtime() {
local file newest local file newest
for file in $( find /etc -type f ! -path /etc/dnsmasq.time ) ; do for file in $( find /etc -type f ! -path /etc/dnsmasq.time ) ; do
[ -z "$newest" -o "$newest" -ot "$file"] && newest=$file [ -z "$newest" -o "$newest" -ot "$file" ] && newest=$file
done done
[ "$newest" ] && date -r "$newest" +%s [ "$newest" ] && date -r "$newest" +%s
} }