summaryrefslogtreecommitdiff
path: root/packaging/common
diff options
context:
space:
mode:
authorDavid Wragg <dpw@lshift.net>2010-01-22 11:32:39 +0000
committerDavid Wragg <dpw@lshift.net>2010-01-22 11:32:39 +0000
commit9d7eaa6af0a44ff3b38e13329a02b075122fbc6e (patch)
tree88076c320438eaec55e6cb7c9b9ee86f9f27f322 /packaging/common
parentf7c003a672b26bc00099b60e204ec17d3c993fd9 (diff)
parenteeba079caa9394273ce9056a08ca53adaf5353f5 (diff)
downloadrabbitmq-server-git-9d7eaa6af0a44ff3b38e13329a02b075122fbc6e.tar.gz
Merge bug21930 into v1_7
Diffstat (limited to 'packaging/common')
-rw-r--r--packaging/common/rabbitmq-script-wrapper2
1 files changed, 1 insertions, 1 deletions
diff --git a/packaging/common/rabbitmq-script-wrapper b/packaging/common/rabbitmq-script-wrapper
index dfb714f16e..f66f8e59af 100644
--- a/packaging/common/rabbitmq-script-wrapper
+++ b/packaging/common/rabbitmq-script-wrapper
@@ -45,7 +45,7 @@ cd /var/lib/rabbitmq
SCRIPT=`basename $0`
if [ `id -u` = 0 ] ; then
- su rabbitmq -s /bin/sh -c "/usr/lib/rabbitmq/bin/${SCRIPT} ${CMDLINE}"
+ @SU_RABBITMQ_SH_C@ "/usr/lib/rabbitmq/bin/${SCRIPT} ${CMDLINE}"
elif [ `id -u` = `id -u rabbitmq` ] ; then
/usr/lib/rabbitmq/bin/${SCRIPT} "$@"
else