diff --git a/scripts/start-finalExec b/scripts/start-finalExec index a007def..1e96b12 100755 --- a/scripts/start-finalExec +++ b/scripts/start-finalExec @@ -294,7 +294,10 @@ elif [[ $SERVER =~ run.sh ]]; then echo "SETUP_ONLY: bash ${SERVER}" exit fi - exec mc-server-runner "${mcServerRunnerArgs[@]}" --shell bash "${SERVER}" + if isTrue "${DEBUG_EXEC}"; then + set -x + fi + exec mc-server-runner "${mcServerRunnerArgs[@]}" --shell bash "${SERVER}" "${EXTRA_ARGS}" else # If we have a bootstrap.txt file... feed that in to the server stdin if [ -f /data/bootstrap.txt ]; then