X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=src%2Fshared%2Fspawn-ask-password-agent.c;h=ff121f86a276032fee7516f93c22f245113c6f1c;hp=c1a9c5868140edab497bb43d55c8e5227d4597bd;hb=c73d180dc4bbd87c945a524b42b672af2ffe2609;hpb=f33d3ec1d7521c91da8b30ad5cb345d6416bb07d diff --git a/src/shared/spawn-ask-password-agent.c b/src/shared/spawn-ask-password-agent.c index c1a9c5868..ff121f86a 100644 --- a/src/shared/spawn-ask-password-agent.c +++ b/src/shared/spawn-ask-password-agent.c @@ -62,6 +62,6 @@ void ask_password_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; }