diff --git a/priv/templates/extended_bin b/priv/templates/extended_bin index 986249adf..5a9c68251 100755 --- a/priv/templates/extended_bin +++ b/priv/templates/extended_bin @@ -844,7 +844,8 @@ case "$1" in export PROGNAME # Dump environment info for logging purposes - echo "Exec: $BINDIR/erlexec" "$FOREGROUNDOPTIONS" \ + # shellcheck disable=SC2086 + echo "Exec: $BINDIR/erlexec" $FOREGROUNDOPTIONS \ -boot "$BOOTFILE" -mode "$CODE_LOADING_MODE" \ -boot_var SYSTEM_LIB_DIR "$SYSTEM_LIB_DIR" \ -config "$RELX_CONFIG_PATH" \ @@ -857,7 +858,9 @@ case "$1" in relx_run_hooks "$PRE_START_HOOKS" # Start the VM - exec "$BINDIR/erlexec" "$FOREGROUNDOPTIONS" \ + # The variabre FOREGROUNDOPTIONS must NOT be quoted. + # shellcheck disable=SC2086 + exec "$BINDIR/erlexec" $FOREGROUNDOPTIONS \ -boot "$BOOTFILE" -mode "$CODE_LOADING_MODE" \ -boot_var SYSTEM_LIB_DIR "$SYSTEM_LIB_DIR" \ -config "$RELX_CONFIG_PATH" \