aboutsummaryrefslogtreecommitdiffstats
path: root/package/base-files
diff options
context:
space:
mode:
authorKevin Darbyshire-Bryant <kevin@darbyshire-bryant.me.uk>2016-05-19 16:57:19 +0100
committerJo-Philipp Wich <jo@mein.io>2016-05-19 18:14:28 +0200
commit8d105653b13eb5f56764c8e02f307f4d28a6a3a7 (patch)
tree2fb8f7e15051e461c016deb27c9fff2f89e9c8e2 /package/base-files
parent1ea7dba3778562bc85986b21be77af34956e11a0 (diff)
downloadupstream-8d105653b13eb5f56764c8e02f307f4d28a6a3a7.tar.gz
upstream-8d105653b13eb5f56764c8e02f307f4d28a6a3a7.tar.bz2
upstream-8d105653b13eb5f56764c8e02f307f4d28a6a3a7.zip
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>
Diffstat (limited to 'package/base-files')
-rwxr-xr-xpackage/base-files/files/etc/init.d/sysfixtime2
1 files changed, 1 insertions, 1 deletions
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
}