[zaptel-commits] russell: branch 1.2 r2583 - /branches/1.2/zaptel.init

zaptel-commits at lists.digium.com zaptel-commits at lists.digium.com
Thu Jun 7 10:01:05 MST 2007


Author: russell
Date: Thu Jun  7 12:01:04 2007
New Revision: 2583

URL: http://svn.digium.com/view/zaptel?view=rev&rev=2583
Log:
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)

Modified:
    branches/1.2/zaptel.init

Modified: branches/1.2/zaptel.init
URL: http://svn.digium.com/view/zaptel/branches/1.2/zaptel.init?view=diff&rev=2583&r1=2582&r2=2583
==============================================================================
--- branches/1.2/zaptel.init (original)
+++ branches/1.2/zaptel.init Thu Jun  7 12:01:04 2007
@@ -194,7 +194,7 @@
 	[ $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"



More information about the zaptel-commits mailing list