summaryrefslogtreecommitdiff
path: root/callouts
diff options
context:
space:
mode:
authorJiří Klimeš <jklimes@redhat.com>2014-12-04 17:19:41 +0100
committerJiří Klimeš <jklimes@redhat.com>2014-12-05 09:38:40 +0100
commit28599331e3e0ef7374ac3ac46e67125a4b91e521 (patch)
tree1b5847333af9e7fa54ab46c764f6939efa615981 /callouts
parent43b4c8f8268fce031b7a73c4ffa5830e8a3b75ad (diff)
callout: ignore waitpid() return value
Coverity: Defect type: CHECKED_RETURN
Diffstat (limited to 'callouts')
-rw-r--r--callouts/nm-dispatcher.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/callouts/nm-dispatcher.c b/callouts/nm-dispatcher.c
index dafe4f6e6..0cd2531dd 100644
--- a/callouts/nm-dispatcher.c
+++ b/callouts/nm-dispatcher.c
@@ -296,7 +296,7 @@ script_timeout_cb (gpointer user_data)
if (kill (script->pid, 0) == 0)
kill (script->pid, SIGKILL);
- waitpid (script->pid, NULL, 0);
+ (void) waitpid (script->pid, NULL, 0);
script->error = g_strdup_printf ("Script '%s' timed out.", script->script);
script->result = DISPATCH_RESULT_TIMEOUT;