Restore `kill -9` to launch.script force-stop
Restore the `-9` flag to the send `kill` call which was inadvertently
lost in commit a35a1022c2.
Closes gh-6223
This commit is contained in:
parent
6adab91fd1
commit
41b83085a6
|
|
@ -214,7 +214,7 @@ do_force_stop() {
|
||||||
kill -9 "$1" &> /dev/null || { echoRed "Unable to kill process $1"; return 1; }
|
kill -9 "$1" &> /dev/null || { echoRed "Unable to kill process $1"; return 1; }
|
||||||
for i in $(seq 1 $STOP_WAIT_TIME); do
|
for i in $(seq 1 $STOP_WAIT_TIME); do
|
||||||
isRunning "$1" || { echoGreen "Stopped [$1]"; rm -f "$2"; return 0; }
|
isRunning "$1" || { echoGreen "Stopped [$1]"; rm -f "$2"; return 0; }
|
||||||
[[ $i -eq STOP_WAIT_TIME/2 ]] && kill "$1" &> /dev/null
|
[[ $i -eq STOP_WAIT_TIME/2 ]] && kill -9 "$1" &> /dev/null
|
||||||
sleep 1
|
sleep 1
|
||||||
done
|
done
|
||||||
echoRed "Unable to kill process $1";
|
echoRed "Unable to kill process $1";
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue