diff --git a/src/deployer.sh b/src/deployer.sh index aa0d2b4..0b3c5a9 100755 --- a/src/deployer.sh +++ b/src/deployer.sh @@ -446,6 +446,7 @@ main() ( "${err_deployer_pid_not_readable}" fi pid="$(cat "${deployer_pid}")" + rm --force "${deployer_pid}" if ! ps -p "${pid}"; then fail "Deployer process with pid='${pid}' is not running." \ "${err_deployer_process_not_running}"