mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-11 15:18:38 +00:00
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.4@317102 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -28,7 +28,7 @@ PRIORITY=0
|
||||
|
||||
# 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
|
||||
|
Reference in New Issue
Block a user