[Fix] Fix boolean command in deployer
This commit is contained in:
parent
048a325166
commit
4af7c48a52
|
@ -440,8 +440,8 @@ main() (
|
||||||
fail "Deployer process with pid='${pid}' is not running." \
|
fail "Deployer process with pid='${pid}' is not running." \
|
||||||
"${err_deployer_process_not_running}"
|
"${err_deployer_process_not_running}"
|
||||||
fi
|
fi
|
||||||
if ! kill "${pid}" || kill -KILL "${pid}"; then
|
if ! output="$(kill "${pid}" 2>&1 || kill -KILL "${pid}" 2>&1)"; then
|
||||||
fail "Cannot kill deployer process." \
|
fail "Cannot kill deployer process: ${output}." \
|
||||||
"${err_deployer_process_not_killed}"
|
"${err_deployer_process_not_killed}"
|
||||||
fi
|
fi
|
||||||
rm --force "${deployer_sock}"
|
rm --force "${deployer_sock}"
|
||||||
|
|
Loading…
Reference in New Issue