From 0703a9a32192cf2bc29f3dd4831c54e2ab2751a0 Mon Sep 17 00:00:00 2001 From: Andrew Latham Date: Wed, 9 Feb 2011 21:46:24 +0000 Subject: [PATCH] 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 git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@307315 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- contrib/init.d/rc.debian.asterisk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contrib/init.d/rc.debian.asterisk b/contrib/init.d/rc.debian.asterisk index 3d06f9556b..69d6c171bc 100755 --- a/contrib/init.d/rc.debian.asterisk +++ b/contrib/init.d/rc.debian.asterisk @@ -66,7 +66,7 @@ case "$1" in 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