aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlathama <lathama@f38db490-d61c-443f-a65b-d21fe96a405b>2011-02-09 21:48:45 +0000
committerlathama <lathama@f38db490-d61c-443f-a65b-d21fe96a405b>2011-02-09 21:48:45 +0000
commitcff642e810b880ab8c7b8bdb354c479e02d69e07 (patch)
treeb9bd4a46d54b1ef832c938af354d839dfb66daf7
parent9beee11b3790ff9f4ad5dc043d59a52cf46e7a59 (diff)
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: http://svn.digium.com/svn/asterisk/branches/1.6.2@307316 f38db490-d61c-443f-a65b-d21fe96a405b
-rwxr-xr-xcontrib/init.d/rc.debian.asterisk2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/init.d/rc.debian.asterisk b/contrib/init.d/rc.debian.asterisk
index 4d9bb15f1..88f220bfa 100755
--- a/contrib/init.d/rc.debian.asterisk
+++ b/contrib/init.d/rc.debian.asterisk
@@ -72,7 +72,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