diff options
Diffstat (limited to 'scripts')
| -rwxr-xr-x | scripts/rabbitmq-server | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/rabbitmq-server b/scripts/rabbitmq-server index 4eb4a83ee5..2b7237f786 100755 --- a/scripts/rabbitmq-server +++ b/scripts/rabbitmq-server @@ -97,9 +97,9 @@ RABBITMQ_EBIN_ROOT="${RABBITMQ_HOME}/ebin" -extra "${RABBITMQ_NODENAME}" PRELAUNCH_RESULT=$? -if [ ${PRELAUNCH_RESULT} == 1 ] ; then +if [ ${PRELAUNCH_RESULT} = 1 ] ; then exit 1 -elif [ ${PRELAUNCH_RESULT} == 0 ] ; then +elif [ ${PRELAUNCH_RESULT} = 0 ] ; then # dist port is not mentioned in the config file, we can set it RABBITMQ_DIST_ARG="-kernel inet_dist_listen_min ${RABBITMQ_DIST_PORT} -kernel inet_dist_listen_max ${RABBITMQ_DIST_PORT}" fi |
