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
commit3f2244546b15181c20fef174ec2d6fdd0d192221 (patch)
tree7484360747a505e64b0bce7de8a5e3ebdad2b6a8 /packaging/common
parentd11305029e2d5d587b14e22cc5f04d957aa8777c (diff)
downloadrabbitmq-server-3f2244546b15181c20fef174ec2d6fdd0d192221.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 aa34fabd..f5f06887 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