From dedacfb94e8dc01c0f89cb94294c7ec18909a414 Mon Sep 17 00:00:00 2001 From: Geoff Bourne Date: Wed, 6 Aug 2025 20:25:12 -0500 Subject: [PATCH] Fixed noise with picking up JAVA_TOOL_OPTIONS (#3599) --- scripts/start-configuration | 3 +++ 1 file changed, 3 insertions(+) diff --git a/scripts/start-configuration b/scripts/start-configuration index 490f43b7..211d4d27 100755 --- a/scripts/start-configuration +++ b/scripts/start-configuration @@ -122,6 +122,9 @@ addToProxyArgs http.proxyHost "${PROXY_HOST:-}" addToProxyArgs http.proxyPort "${PROXY_PORT:-}" addToProxyArgs http.nonProxyHosts "${PROXY_NON_PROXY_HOSTS:-}" export JAVA_TOOL_OPTIONS+=" ${proxyArgs[*]}" +if [[ $JAVA_TOOL_OPTIONS =~ ^[[:blank:]]*$ ]]; then + export -n JAVA_TOOL_OPTIONS +fi function fixJavaPath() { # Some Docker management UIs grab all the image declared variables and present them for configuration.