Commit aa632610 authored by Andy Wilkinson's avatar Andy Wilkinson

Merge pull request #17976 from nebhale

* gh-17976:
  Use exec when launching the JVM in CLI's shell script

Closes gh-17976
parents bd9f7a13 2a04d94c
...@@ -113,4 +113,4 @@ if $cygwin; then ...@@ -113,4 +113,4 @@ if $cygwin; then
fi fi
IFS=" " read -r -a javaOpts <<< "$JAVA_OPTS" IFS=" " read -r -a javaOpts <<< "$JAVA_OPTS"
"${JAVA_HOME}/bin/java" "${javaOpts[@]}" -cp "$CLASSPATH" org.springframework.boot.loader.JarLauncher "$@" exec "${JAVA_HOME}/bin/java" "${javaOpts[@]}" -cp "$CLASSPATH" org.springframework.boot.loader.JarLauncher "$@"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment