From bd4775fb11279f1b74fa1b1070acad5bf5de5f70 Mon Sep 17 00:00:00 2001 From: russell Date: Thu, 7 Jun 2007 17:01:04 +0000 Subject: The -quit option to find is not supported on the version of find installed on Centos 4. Lame! Just remove it, as it isn't really necessary. (issue #9800, noahisaac) git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@2583 5390a7c7-147a-4af0-8ec9-7488f05a26cb --- zaptel.init | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'zaptel.init') diff --git a/zaptel.init b/zaptel.init index bd19142..c307165 100644 --- a/zaptel.init +++ b/zaptel.init @@ -194,7 +194,7 @@ case "$1" in [ $RETVAL -eq 0 ] && touch $LOCKFILE # HPEC license found - if [ x`find /var/lib/digium/licenses/ -maxdepth 1 -name HPEC-\*.lic -printf yes -quit` = xyes ]; then + if [ x`find /var/lib/digium/licenses/ -maxdepth 1 -name HPEC-\*.lic -printf yes` = xyes ]; then # zaphpec_enable not installed in /usr/sbin if [ ! -f /usr/sbin/zaphpec_enable ]; then echo -n "Running zaphpec_enable: Failed" -- cgit v1.2.3