diff options
Diffstat (limited to 'contrib/init.d/rc.redhat.asterisk')
-rwxr-xr-x | contrib/init.d/rc.redhat.asterisk | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/init.d/rc.redhat.asterisk b/contrib/init.d/rc.redhat.asterisk index 01ab86247..45ea9bccf 100755 --- a/contrib/init.d/rc.redhat.asterisk +++ b/contrib/init.d/rc.redhat.asterisk @@ -71,7 +71,7 @@ RETVAL=0 start() { # Check if Asterisk is already running. If it is, then bug out, because # starting safe_asterisk when Asterisk is running is very bad. - VERSION=`${AST_SBIN}/asterisk -rx 'core show version'` + VERSION=`${AST_SBIN}/asterisk -rx 'core show version' 2>/dev/null` if [ "`echo $VERSION | cut -c 1-8`" = "Asterisk" ]; then echo "Asterisk is already running." exit 0 |