From fcab65dc60d43da72af0e517702d2a2e91d4b3c5 Mon Sep 17 00:00:00 2001
From: Jo-Philipp Wich <jow@openwrt.org>
Date: Tue, 17 Feb 2009 17:29:17 +0000
Subject: [package] fix incorrect quoting in busybox cron init script

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14540 3c298f89-4303-0410-b956-a3cf2f4a3e73
---
 package/busybox/files/cron | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'package/busybox/files')

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
-- 
cgit v1.2.3