mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-27 06:31:54 +00:00
Merged revisions 317102 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r317102 | lmadsen | 2011-05-05 10:54:46 -0400 (Thu, 05 May 2011) | 8 lines 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 ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@317104 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -45,7 +45,7 @@ message() {
|
||||
|
||||
# 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
|
||||
message "Asterisk is already running. $0 will exit now."
|
||||
exit 1
|
||||
|
||||
Reference in New Issue
Block a user