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 01ddf992f6..ad70066ca4 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 @@ -166,7 +166,7 @@ stop() { } do_stop() { - kill -HUP $1 &> /dev/null || { echoRed "Unable to kill process $1"; return 1; } + kill $1 &> /dev/null || { echoRed "Unable to kill process $1"; return 1; } for i in $(seq 1 60); do isRunning $1 || { echoGreen "Stopped [$1]"; rm -f $2; return 0; } sleep 1