diff options
author | Ronny Chevalier <chevalier.ronny@gmail.com> | 2014-11-09 15:51:04 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2014-11-10 20:18:49 +0100 |
commit | c73d180dc4bbd87c945a524b42b672af2ffe2609 (patch) | |
tree | 9f9233db81ff5819ad8205f77f138bfa685c3629 /src/shared/spawn-polkit-agent.c | |
parent | man: improve documentation for "indirect" unit file state a bit (diff) | |
download | systemd-c73d180dc4bbd87c945a524b42b672af2ffe2609.tar.xz systemd-c73d180dc4bbd87c945a524b42b672af2ffe2609.zip |
shared: explicitly ignore the return value of wait_for_terminate
CID#1237532
CID#1237523
CID#1237522
Diffstat (limited to 'src/shared/spawn-polkit-agent.c')
-rw-r--r-- | src/shared/spawn-polkit-agent.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shared/spawn-polkit-agent.c b/src/shared/spawn-polkit-agent.c index 29b01db19a..7a90ef8013 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; } |