[package] fix incorrect quoting in busybox cron init script
[openwrt/svn-archive/archive.git] / package / busybox / files / cron
index 9a313927178067409d5c729dce84922f8b24c2b0..f24713060841aaa413da2486595efab234db75cf 100755 (executable)
@@ -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