[asterisk-commits] lathama: branch 1.6.2 r307316 - /branches/1.6.2/contrib/init.d/
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Wed Feb 9 15:48:49 CST 2011
Author: lathama
Date: Wed Feb 9 15:48:45 2011
New Revision: 307316
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=307316
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.6.2/contrib/init.d/rc.debian.asterisk
Modified: branches/1.6.2/contrib/init.d/rc.debian.asterisk
URL: http://svnview.digium.com/svn/asterisk/branches/1.6.2/contrib/init.d/rc.debian.asterisk?view=diff&rev=307316&r1=307315&r2=307316
==============================================================================
--- branches/1.6.2/contrib/init.d/rc.debian.asterisk (original)
+++ branches/1.6.2/contrib/init.d/rc.debian.asterisk Wed Feb 9 15:48:45 2011
@@ -72,7 +72,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