mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-02-05 06:30:33 +01:00
callout: ignore waitpid() return value
Coverity: Defect type: CHECKED_RETURN
This commit is contained in:
parent
43b4c8f826
commit
28599331e3
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue