chiark / gitweb /
shared: explicitly ignore the return value of wait_for_terminate
[elogind.git] / src / shared / spawn-polkit-agent.c
index 29b01db19a41a7dafd4f16dadb7041ba6d17bf9b..7a90ef801343ca0be7fcd0695a1d70b0b492e056 100644 (file)
@@ -82,7 +82,7 @@ void polkit_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;
 }