summaryrefslogtreecommitdiff
path: root/package/busybox/files
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2009-02-17 17:29:17 +0000
committerJo-Philipp Wich <jow@openwrt.org>2009-02-17 17:29:17 +0000
commit7618cd7cbe66065b4c185d0805e8982504bee237 (patch)
tree641cd70f97f478fdc9182e90979cc371e6d7887c /package/busybox/files
parent34058060a2e17220a06d26f7d189be13d1aad07a (diff)
downloadmtk-20170518-7618cd7cbe66065b4c185d0805e8982504bee237.zip
mtk-20170518-7618cd7cbe66065b4c185d0805e8982504bee237.tar.gz
mtk-20170518-7618cd7cbe66065b4c185d0805e8982504bee237.tar.bz2
fix incorrect quoting in busybox cron init script
SVN-Revision: 14540
Diffstat (limited to 'package/busybox/files')
-rwxr-xr-xpackage/busybox/files/cron2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/busybox/files/cron b/package/busybox/files/cron
index 9a31392..f247130 100755
--- a/package/busybox/files/cron
+++ b/package/busybox/files/cron
@@ -3,7 +3,7 @@
START=50
start () {
- [ -z $(ls /etc/crontabs/) ] && exit 1
+ [ -z "$(ls /etc/crontabs/)" ] && exit 1
mkdir -p /var/spool/cron
[ -L /var/spool/cron/crontabs ] || ln -s /etc/crontabs /var/spool/cron/crontabs
crond -c /etc/crontabs