From f97cea4b06ee1c236b5199ec848df9005d3f53a1 Mon Sep 17 00:00:00 2001 From: Geoff Bourne Date: Thu, 4 Nov 2021 21:49:03 -0500 Subject: [PATCH] misc: adjusted debug logs when SKIP_SERVER_PROPERTIES #1108 --- scripts/start-setupServerProperties | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/start-setupServerProperties b/scripts/start-setupServerProperties index 80931ec2..3e67e6bf 100755 --- a/scripts/start-setupServerProperties +++ b/scripts/start-setupServerProperties @@ -217,9 +217,9 @@ if isTrue "${ENABLE_AUTOPAUSE}"; then fi fi -if isDebugging; then +if isDebugging && [ -f "${SERVER_PROPERTIES}" ]; then log "DEBUG Dumping server.properties" cat "${SERVER_PROPERTIES}" fi -exec ${SCRIPTS:-/}start-setupEnvVariables $@ +exec "${SCRIPTS:-/}start-setupEnvVariables" "$@"