diff options
Diffstat (limited to 'callouts')
-rw-r--r-- | callouts/nm-dispatcher.c | 2 |
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; |