diff --git a/spring-boot-integration-tests/spring-boot-launch-script-tests/src/test/java/org/springframework/boot/launchscript/SysVinitLaunchScriptIT.java b/spring-boot-integration-tests/spring-boot-launch-script-tests/src/test/java/org/springframework/boot/launchscript/SysVinitLaunchScriptIT.java index 10aea5d9f8..65812fdf17 100644 --- a/spring-boot-integration-tests/spring-boot-launch-script-tests/src/test/java/org/springframework/boot/launchscript/SysVinitLaunchScriptIT.java +++ b/spring-boot-integration-tests/spring-boot-launch-script-tests/src/test/java/org/springframework/boot/launchscript/SysVinitLaunchScriptIT.java @@ -200,7 +200,6 @@ public class SysVinitLaunchScriptIT { doLaunch("launch-with-double-link-single-java-opt.sh"); } - @Test public void launchWithMultipleJavaOpts() throws Exception { doLaunch("launch-with-multiple-java-opts.sh"); diff --git a/spring-boot-tools/spring-boot-loader-tools/src/main/resources/org/springframework/boot/loader/tools/launch.script b/spring-boot-tools/spring-boot-loader-tools/src/main/resources/org/springframework/boot/loader/tools/launch.script index 5bc1ec1a1a..c4124cd297 100755 --- a/spring-boot-tools/spring-boot-loader-tools/src/main/resources/org/springframework/boot/loader/tools/launch.script +++ b/spring-boot-tools/spring-boot-loader-tools/src/main/resources/org/springframework/boot/loader/tools/launch.script @@ -35,8 +35,8 @@ while [[ -L "$jarfile" ]]; do if [[ "$jarfile" =~ init\.d ]]; then init_script=$(basename "$jarfile") else - # while looping check if their is any configuration file configfile="${jarfile%.*}.conf" + # shellcheck source=/dev/null [[ -r ${configfile} ]] && source "${configfile}" fi jarfile=$(readlink "$jarfile")