Skip to content

Commit eed0d39

Browse files
committed
Do not quote RABBITMQ_CTL_ERL_ARGS and ignore shellcheck warning
(cherry picked from commit 9c79348)
1 parent a8301fb commit eed0d39

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

scripts/rabbitmq-env

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -339,10 +339,11 @@ run_escript()
339339
escript="${1:?escript must be defined}"
340340
shift
341341

342+
# shellcheck disable=SC2086
342343
exec "${ERL_DIR}erl" +B \
343344
-boot "${CLEAN_BOOT_FILE}" \
344345
-noinput -noshell -hidden -smp enable \
345-
"${RABBITMQ_CTL_ERL_ARGS}" \
346+
${RABBITMQ_CTL_ERL_ARGS} \
346347
-sasl errlog_type error \
347348
-mnesia dir "\"${RABBITMQ_MNESIA_DIR}\"" \
348349
-nodename "$RABBITMQ_NODENAME" \

0 commit comments

Comments
 (0)