aboutsummaryrefslogtreecommitdiffstats
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
commitfcab65dc60d43da72af0e517702d2a2e91d4b3c5 (patch)
tree3daa94d0f9a179a458f30b5a54298a9ae6573e4f /package/busybox/files
parent6e38af920f52202286e120124d7b0a85461a3383 (diff)
downloadupstream-fcab65dc60d43da72af0e517702d2a2e91d4b3c5.tar.gz
upstream-fcab65dc60d43da72af0e517702d2a2e91d4b3c5.tar.bz2
upstream-fcab65dc60d43da72af0e517702d2a2e91d4b3c5.zip
[package] fix incorrect quoting in busybox cron init script
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14540 3c298f89-4303-0410-b956-a3cf2f4a3e73
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 9a31392717..f247130608 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