[asterisk-commits] lathama: branch 1.8 r307314 - /branches/1.8/contrib/init.d/rc.debian.asterisk
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Wed Feb 9 15:44:19 CST 2011
Author: lathama
Date: Wed Feb 9 15:44:13 2011
New Revision: 307314
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=307314
Log:
Disable color during running test
(closes issue #18776)
Reported by: alecdavis
Patches:
ast_deb_init.diff uploaded by lathama (license 1028)
Tested by: andrel, lathama
Modified:
branches/1.8/contrib/init.d/rc.debian.asterisk
Modified: branches/1.8/contrib/init.d/rc.debian.asterisk
URL: http://svnview.digium.com/svn/asterisk/branches/1.8/contrib/init.d/rc.debian.asterisk?view=diff&rev=307314&r1=307313&r2=307314
==============================================================================
--- branches/1.8/contrib/init.d/rc.debian.asterisk (original)
+++ branches/1.8/contrib/init.d/rc.debian.asterisk Wed Feb 9 15:44:13 2011
@@ -66,7 +66,7 @@
start)
# Check if Asterisk is already running. If it is, then bug out, because
# starting up Asterisk when Asterisk is already running is very bad.
- VERSION=`${DAEMON} -rx 'core show version' || ${TRUE}`
+ VERSION=`${DAEMON} -rnx 'core show version' || ${TRUE}`
if [ "`echo $VERSION | cut -c 1-8`" = "Asterisk" ]; then
echo "Asterisk is already running. $0 will exit now."
exit 1
More information about the asterisk-commits
mailing list