[Fix] Correct mistake in kill command
This commit is contained in:
parent
711ad6dc9e
commit
a51c1f3d46
|
@ -440,7 +440,7 @@ 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 --signal KILL "${pid}"; then
|
if ! kill "${pid}" || kill -KILL "${pid}"; then
|
||||||
fail "Cannot kill deployer process." \
|
fail "Cannot kill deployer process." \
|
||||||
"${err_deployer_process_not_killed}"
|
"${err_deployer_process_not_killed}"
|
||||||
fi
|
fi
|
||||||
|
|
|
@ -541,7 +541,7 @@ 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 --signal KILL "${pid}"; then
|
if ! kill "${pid}" || kill -KILL "${pid}"; then
|
||||||
fail "Cannot kill runner process." "${err_runner_process_not_killed}"
|
fail "Cannot kill runner process." "${err_runner_process_not_killed}"
|
||||||
fi
|
fi
|
||||||
rm --force "${runner_sock}"
|
rm --force "${runner_sock}"
|
||||||
|
|
Loading…
Reference in New Issue