shared: explicitly ignore the return value of wait_for_terminate

CID#1237532
CID#1237523
CID#1237522
This commit is contained in:
Ronny Chevalier
2014-11-10 20:18:49 +01:00
committed by Lennart Poettering
parent 39f76ad8d6
commit c73d180dc4
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -143,7 +143,7 @@ void pager_close(void) {
/* Inform pager that we are done */
fclose(stdout);
kill(pager_pid, SIGCONT);
wait_for_terminate(pager_pid, NULL);
(void) wait_for_terminate(pager_pid, NULL);
pager_pid = 0;
}
+1 -1
View File
@@ -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;
}
+1 -1
View File
@@ -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;
}