summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeif Madsen <leif@leifmadsen.com>2011-09-20 22:29:24 +0000
committerLeif Madsen <leif@leifmadsen.com>2011-09-20 22:29:24 +0000
commit6b715d8f5c8a5b14d8bf6e437609b5ad1330efb7 (patch)
tree82df38ccf425e131c4bf52f155398c159bd90a0b
parent486b6042f39664bd8f325e8a0b035f80b2a9765d (diff)
Merged revisions 337115 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.8 ........ r337115 | lmadsen | 2011-09-20 17:18:25 -0500 (Tue, 20 Sep 2011) | 7 lines Update RedHat Init script to work with Heartbeat. The current RedHat init script was not LSB compatible. This change will make it LSB compatible so that it can work correctly with Heartbeat. (Closes issue ASTERISK-18253) Reported by: c0rnoTa ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@337117 65c4cc65-6c06-0410-ace0-fbb531ad65f3
-rwxr-xr-xcontrib/init.d/rc.redhat.asterisk2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/init.d/rc.redhat.asterisk b/contrib/init.d/rc.redhat.asterisk
index abf395113..01ab86247 100755
--- a/contrib/init.d/rc.redhat.asterisk
+++ b/contrib/init.d/rc.redhat.asterisk
@@ -74,7 +74,7 @@ start() {
VERSION=`${AST_SBIN}/asterisk -rx 'core show version'`
if [ "`echo $VERSION | cut -c 1-8`" = "Asterisk" ]; then
echo "Asterisk is already running."
- exit 1
+ exit 0
fi
# Start daemons.