summaryrefslogtreecommitdiff
path: root/packaging/common
diff options
context:
space:
mode:
authorHubert Plociniczak <hubert@lshift.net>2009-02-04 01:49:22 +0000
committerHubert Plociniczak <hubert@lshift.net>2009-02-04 01:49:22 +0000
commit04be2c05ed54a61a4e9a31f5d243fe7dc6a54fe0 (patch)
treed13d51dd54c8bca1585f6da852a0ffaa5276c3b1 /packaging/common
parent7424a912b19ec6e2aaf6a03d291aedc4a9aaa8fe (diff)
downloadrabbitmq-server-git-04be2c05ed54a61a4e9a31f5d243fe7dc6a54fe0.tar.gz
Use common wrapper for scripts in rpm packages.
Fixed indentation. init.d script uses wrapper.
Diffstat (limited to 'packaging/common')
-rw-r--r--packaging/common/rabbitmq-script-wrapper6
1 files changed, 3 insertions, 3 deletions
diff --git a/packaging/common/rabbitmq-script-wrapper b/packaging/common/rabbitmq-script-wrapper
index 78ad528c1d..217d1658b5 100644
--- a/packaging/common/rabbitmq-script-wrapper
+++ b/packaging/common/rabbitmq-script-wrapper
@@ -16,8 +16,8 @@ SCRIPT=`basename $0`
if [ `id -u` = 0 ] ; then
su rabbitmq -s /bin/sh -c "/usr/lib/rabbitmq/bin/${SCRIPT} ${CMDLINE}"
else
- /usr/lib/rabbitmq/bin/${SCRIPT}
- echo -e "\nOnly root should run ${SCRIPT}\n"
- exit 1
+ /usr/lib/rabbitmq/bin/${SCRIPT}
+ echo -e "\nOnly root should run ${SCRIPT}\n"
+ exit 1
fi