Skip to content

Commit 847b118

Browse files
committed
Fix line continuation
1 parent ae7799a commit 847b118

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

scripts/rabbitmq-env

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -344,12 +344,14 @@ run_escript()
344344
escript="${1:?escript must be defined}"
345345
shift
346346

347+
# Important: do not quote RABBITMQ_CTL_ERL_ARGS as they must be
348+
# word-split
347349
# shellcheck disable=SC2086
348350
exec "${ERL_DIR}erl" +B \
349351
-boot "$CLEAN_BOOT_FILE" \
350352
-noinput -noshell -hidden -smp enable \
351353
"$RABBITMQ_NAME_TYPE" "rabbitmqescript$$@localhost" \
352-
$RABBITMQ_CTL_ERL_ARGS \ # Do *not* quote this
354+
$RABBITMQ_CTL_ERL_ARGS \
353355
-kernel inet_dist_listen_min "$RABBITMQ_CTL_DIST_PORT_MIN" \
354356
-kernel inet_dist_listen_max "$RABBITMQ_CTL_DIST_PORT_MAX" \
355357
-sasl errlog_type error \

0 commit comments

Comments
 (0)