[asterisk-commits] lathama: trunk r307315 - /trunk/contrib/init.d/rc.debian.asterisk
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Wed Feb 9 15:46:29 CST 2011
Author: lathama
Date: Wed Feb 9 15:46:24 2011
New Revision: 307315
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=307315
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:
trunk/contrib/init.d/rc.debian.asterisk
Modified: trunk/contrib/init.d/rc.debian.asterisk
URL: http://svnview.digium.com/svn/asterisk/trunk/contrib/init.d/rc.debian.asterisk?view=diff&rev=307315&r1=307314&r2=307315
==============================================================================
--- trunk/contrib/init.d/rc.debian.asterisk (original)
+++ trunk/contrib/init.d/rc.debian.asterisk Wed Feb 9 15:46:24 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