summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRonny Chevalier <chevalier.ronny@gmail.com>2014-11-09 15:51:04 +0100
committerLennart Poettering <lennart@poettering.net>2014-11-10 20:18:49 +0100
commitc73d180dc4bbd87c945a524b42b672af2ffe2609 (patch)
tree9f9233db81ff5819ad8205f77f138bfa685c3629 /src
parent39f76ad8d6df0f4c930cff7b080abfdff25c187b (diff)
shared: explicitly ignore the return value of wait_for_terminate
CID#1237532 CID#1237523 CID#1237522
Diffstat (limited to 'src')
-rw-r--r--src/shared/pager.c2
-rw-r--r--src/shared/spawn-ask-password-agent.c2
-rw-r--r--src/shared/spawn-polkit-agent.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/shared/pager.c b/src/shared/pager.c
index 54790947ba..001927ce93 100644
--- a/src/shared/pager.c
+++ b/src/shared/pager.c
@@ -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;
}
diff --git a/src/shared/spawn-ask-password-agent.c b/src/shared/spawn-ask-password-agent.c
index c1a9c58681..ff121f86a2 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;
}
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;
}