summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon MacMullen <simon@rabbitmq.com>2011-10-13 16:37:52 +0100
committerSimon MacMullen <simon@rabbitmq.com>2011-10-13 16:37:52 +0100
commitff3354a89d295d1f7cacdb6449768edce5b340aa (patch)
tree80f1cab0f305b605c7f0d8f4fb327171c5222f5c
parent6eb61764a2ce64303127c232d61c4c9e0cd7199d (diff)
downloadrabbitmq-server-ff3354a89d295d1f7cacdb6449768edce5b340aa.tar.gz
Use $() like we do elsewhere, add a tiny bit more comment.bug24478
-rwxr-xr-xscripts/rabbitmq-server5
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}