chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
shared: explicitly ignore the return value of wait_for_terminate
[elogind.git]
/
src
/
shared
/
spawn-ask-password-agent.c
diff --git
a/src/shared/spawn-ask-password-agent.c
b/src/shared/spawn-ask-password-agent.c
index c1a9c5868140edab497bb43d55c8e5227d4597bd..ff121f86a276032fee7516f93c22f245113c6f1c 100644
(file)
--- 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);
/* 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;
}
agent_pid = 0;
}