dect
/
asterisk
Archived
13
0
Fork 0

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/trunk@307315 f38db490-d61c-443f-a65b-d21fe96a405b
This commit is contained in:
lathama 2011-02-09 21:46:24 +00:00
parent bb767fa886
commit ae506d2701
1 changed files with 1 additions and 1 deletions

View File

@ -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