summaryrefslogtreecommitdiff
path: root/packaging/common
diff options
context:
space:
mode:
authorSimon MacMullen <simon@rabbitmq.com>2011-02-09 16:25:51 +0000
committerSimon MacMullen <simon@rabbitmq.com>2011-02-09 16:25:51 +0000
commitc10d8e1111fdf617b935f771efd1dc982c05b449 (patch)
tree7484360747a505e64b0bce7de8a5e3ebdad2b6a8 /packaging/common
parente0fbba695861c1d660dddde1b50ccd045f7571b0 (diff)
downloadrabbitmq-server-git-c10d8e1111fdf617b935f771efd1dc982c05b449.tar.gz
Correct the behaviour of /etc/init.d/rabbitmq-server status
Diffstat (limited to 'packaging/common')
-rw-r--r--packaging/common/rabbitmq-server.init4
1 files changed, 2 insertions, 2 deletions
diff --git a/packaging/common/rabbitmq-server.init b/packaging/common/rabbitmq-server.init
index aa34fabda0..f5f0688775 100644
--- a/packaging/common/rabbitmq-server.init
+++ b/packaging/common/rabbitmq-server.init
@@ -79,9 +79,9 @@ stop_rabbitmq () {
status_rabbitmq() {
set +e
if [ "$1" != "quiet" ] ; then
- $CONTROL status 2>&1
+ $CONTROL init_status 2>&1
else
- $CONTROL status > /dev/null 2>&1
+ $CONTROL init_status > /dev/null 2>&1
fi
if [ $? != 0 ] ; then
RETVAL=1