[Fix] Fix boolean usage in deployer stop
This commit is contained in:
parent
d5ca04a90d
commit
89131ec9ee
|
@ -546,8 +546,9 @@ main() (
|
|||
fail "Runner process with pid='${pid}' is not running." \
|
||||
"${err_runner_process_not_running}"
|
||||
fi
|
||||
if ! kill "${pid}" || kill -KILL "${pid}"; then
|
||||
fail "Cannot kill runner process." "${err_runner_process_not_killed}"
|
||||
if ! output="$(kill "${pid}" || kill -KILL "${pid}")"; then
|
||||
fail "Cannot kill runner process: ${output}." \
|
||||
"${err_runner_process_not_killed}"
|
||||
fi
|
||||
rm --force "${runner_sock}"
|
||||
;;
|
||||
|
|
Loading…
Reference in New Issue