X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=src%2Fshared%2Fspawn-polkit-agent.c;h=7a90ef801343ca0be7fcd0695a1d70b0b492e056;hp=29b01db19a41a7dafd4f16dadb7041ba6d17bf9b;hb=c73d180dc4bbd87c945a524b42b672af2ffe2609;hpb=39f76ad8d6df0f4c930cff7b080abfdff25c187b diff --git a/src/shared/spawn-polkit-agent.c b/src/shared/spawn-polkit-agent.c index 29b01db19..7a90ef801 100644 --- a/src/shared/spawn-polkit-agent.c +++ b/src/shared/spawn-polkit-agent.c @@ -82,7 +82,7 @@ void polkit_agent_close(void) { /* Inform agent that we are done */ kill(agent_pid, SIGTERM); kill(agent_pid, SIGCONT); - wait_for_terminate(agent_pid, NULL); + (void) wait_for_terminate(agent_pid, NULL); agent_pid = 0; }