[asterisk-commits] lmadsen: branch 1.4 r317102 - /branches/1.4/contrib/scripts/safe_asterisk

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Thu May 5 09:54:51 CDT 2011


Author: lmadsen
Date: Thu May  5 09:54:46 2011
New Revision: 317102

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=317102
Log:
Disable console colourization inside safe_asterisk checks.

(closes issue #19213)
Reported by: lefoyer
Patches: 
      issue19213_strip_color_in_safe_asterisk-svn.patch uploaded by wdoekes (license 717)
Tested by: wdoekes, lefoyer

Modified:
    branches/1.4/contrib/scripts/safe_asterisk

Modified: branches/1.4/contrib/scripts/safe_asterisk
URL: http://svnview.digium.com/svn/asterisk/branches/1.4/contrib/scripts/safe_asterisk?view=diff&rev=317102&r1=317101&r2=317102
==============================================================================
--- branches/1.4/contrib/scripts/safe_asterisk (original)
+++ branches/1.4/contrib/scripts/safe_asterisk Thu May  5 09:54:46 2011
@@ -28,7 +28,7 @@
 
 # Check if Asterisk is already running.  If it is, then bug out, because
 # starting safe_asterisk when Asterisk is running is very bad.
-VERSION=`${ASTSBINDIR}/asterisk -rx 'core show version'`
+VERSION=`${ASTSBINDIR}/asterisk -nrx 'core show version'`
 if test "`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