Browse Source

fix incorrect quoting in busybox cron init script

SVN-Revision: 14540
Jo-Philipp Wich 17 years ago
parent
commit
7618cd7cbe
2 changed files with 2 additions and 2 deletions
  1. 1 1
      package/busybox/Makefile
  2. 1 1
      package/busybox/files/cron

+ 1 - 1
package/busybox/Makefile

@@ -10,7 +10,7 @@ include $(TOPDIR)/rules.mk
 
 PKG_NAME:=busybox
 PKG_VERSION:=1.11.3
-PKG_RELEASE:=3
+PKG_RELEASE:=4
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
 PKG_SOURCE_URL:=http://www.busybox.net/downloads \

+ 1 - 1
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