From d1d2cd899636abeeda1bf61068f7fcf8e2c83ec5 Mon Sep 17 00:00:00 2001 From: Jonathan Dowland Date: Thu, 23 May 2024 16:31:22 +0100 Subject: [PATCH] [OPENJDK-3009] syntax fix for run-java.sh The backporting of mask_passwords to UBI8 had a syntax error, we borrowed the closing parenthesis from mask_passwords(), breaking the run-java.sh script. https://issues.redhat.com/browse/OPENJDK-3009 Signed-off-by: Jonathan Dowland --- modules/run/artifacts/opt/jboss/container/java/run/run-java.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/run/artifacts/opt/jboss/container/java/run/run-java.sh b/modules/run/artifacts/opt/jboss/container/java/run/run-java.sh index c0e05e12..0ea752f9 100644 --- a/modules/run/artifacts/opt/jboss/container/java/run/run-java.sh +++ b/modules/run/artifacts/opt/jboss/container/java/run/run-java.sh @@ -225,6 +225,7 @@ function configure_passwd() { if [ -w "$HOME/passwd" ]; then sed "/^jboss/s/[^:]*/$(id -u)/3" /etc/passwd > "$HOME/passwd" fi +} # Mask secrets before printing mask_passwords() {