From: Kevin Darbyshire-Bryant Date: Thu, 19 May 2016 15:57:19 +0000 (+0100) Subject: base-files: sysfixtime typo in exclude dnsmasq.time X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=8d105653b13eb5f56764c8e02f307f4d28a6a3a7;p=openwrt%2Fstaging%2Flinusw.git 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 --- 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 }