From 8d105653b13eb5f56764c8e02f307f4d28a6a3a7 Mon Sep 17 00:00:00 2001 From: Kevin Darbyshire-Bryant Date: Thu, 19 May 2016 16:57:19 +0100 Subject: [PATCH] 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 --- package/base-files/files/etc/init.d/sysfixtime | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/base-files/files/etc/init.d/sysfixtime b/package/base-files/files/etc/init.d/sysfixtime index 1354a586ce..c823d57f10 100755 --- a/package/base-files/files/etc/init.d/sysfixtime +++ b/package/base-files/files/etc/init.d/sysfixtime @@ -28,7 +28,7 @@ maxtime() { local file newest 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 [ "$newest" ] && date -r "$newest" +%s } -- 2.25.1