[Dev] Do not display ps output in deployer

This commit is contained in:
samuel 2023-05-09 14:19:03 +02:00
parent cde881f1b8
commit 048a325166
1 changed files with 1 additions and 1 deletions

View File

@ -436,7 +436,7 @@ main() (
fi fi
pid="$(cat "${deployer_pid}")" pid="$(cat "${deployer_pid}")"
rm --force "${deployer_pid}" rm --force "${deployer_pid}"
if ! ps -p "${pid}"; then if ! ps -p "${pid}" >/dev/null; then
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