diff options
author | Simon MacMullen <simon@rabbitmq.com> | 2011-10-13 16:37:52 +0100 |
---|---|---|
committer | Simon MacMullen <simon@rabbitmq.com> | 2011-10-13 16:37:52 +0100 |
commit | ff3354a89d295d1f7cacdb6449768edce5b340aa (patch) | |
tree | 80f1cab0f305b605c7f0d8f4fb327171c5222f5c | |
parent | 6eb61764a2ce64303127c232d61c4c9e0cd7199d (diff) | |
download | rabbitmq-server-ff3354a89d295d1f7cacdb6449768edce5b340aa.tar.gz |
Use $() like we do elsewhere, add a tiny bit more comment.bug24478
-rwxr-xr-x | scripts/rabbitmq-server | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/scripts/rabbitmq-server b/scripts/rabbitmq-server index 0c865816..1831f876 100755 --- a/scripts/rabbitmq-server +++ b/scripts/rabbitmq-server @@ -65,8 +65,9 @@ fi RABBITMQ_START_RABBIT= [ "x" = "x$RABBITMQ_ALLOW_INPUT" ] && RABBITMQ_START_RABBIT='-noinput' -case "`uname -s`" in - CYGWIN*) # we make no attempt to record the cygwin pid +case "$(uname -s)" in + CYGWIN*) # we make no attempt to record the cygwin pid; rabbitmqctl wait + # will not be able to make sense of it anyway ;; *) mkdir -p $(dirname ${RABBITMQ_PID_FILE}); echo $$ > ${RABBITMQ_PID_FILE} |