tree-wide: port various places to use TAKE_PID()

This commit is contained in:
Lennart Poettering
2021-11-03 16:36:09 +01:00
parent 883946f0d2
commit 8f03de5323
14 changed files with 18 additions and 33 deletions
+1 -2
View File
@@ -482,8 +482,7 @@ static int verify_gpg(
gpg_pipe[1] = safe_close(gpg_pipe[1]);
r = wait_for_terminate_and_check("gpg", pid, WAIT_LOG_ABNORMAL);
pid = 0;
r = wait_for_terminate_and_check("gpg", TAKE_PID(pid), WAIT_LOG_ABNORMAL);
if (r < 0)
goto finish;
if (r != EXIT_SUCCESS)