[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." \
|
fail "Runner process with pid='${pid}' is not running." \
|
||||||
"${err_runner_process_not_running}"
|
"${err_runner_process_not_running}"
|
||||||
fi
|
fi
|
||||||
if ! kill "${pid}" || kill -KILL "${pid}"; then
|
if ! output="$(kill "${pid}" || kill -KILL "${pid}")"; then
|
||||||
fail "Cannot kill runner process." "${err_runner_process_not_killed}"
|
fail "Cannot kill runner process: ${output}." \
|
||||||
|
"${err_runner_process_not_killed}"
|
||||||
fi
|
fi
|
||||||
rm --force "${runner_sock}"
|
rm --force "${runner_sock}"
|
||||||
;;
|
;;
|
||||||
|
|
Loading…
Reference in New Issue