diff options
author | Matthew Sackman <matthew@lshift.net> | 2009-10-29 13:55:24 +0000 |
---|---|---|
committer | Matthew Sackman <matthew@lshift.net> | 2009-10-29 13:55:24 +0000 |
commit | 9c9ac625926a8db82d25becf2fbd28751f25034e (patch) | |
tree | f822f8668e2d3a8a5ff497e7ecf0f01c2d4114f5 | |
parent | 1350dd2c2ec4d353e555cc173a00f95f961b4f5d (diff) | |
download | rabbitmq-server-9c9ac625926a8db82d25becf2fbd28751f25034e.tar.gz |
typeo. Or something.bug21802
-rw-r--r-- | packaging/common/rabbitmq-script-wrapper | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packaging/common/rabbitmq-script-wrapper b/packaging/common/rabbitmq-script-wrapper index 4c3ff35b..08e888cd 100644 --- a/packaging/common/rabbitmq-script-wrapper +++ b/packaging/common/rabbitmq-script-wrapper @@ -44,7 +44,7 @@ cd /var/lib/rabbitmq SCRIPT=`basename $0` -if [ `id -u` == 0 ] ; then +if [ `id -u` = 0 ] ; then su rabbitmq -s /bin/sh -c "/usr/lib/rabbitmq/bin/${SCRIPT} ${CMDLINE}" elif [ `id -u` = `id -u rabbitmq` ] ; then /usr/lib/rabbitmq/bin/${SCRIPT} "$@" |