mirror of
https://github.com/systemd/systemd-stable.git
synced 2024-10-28 03:25:27 +03:00
execute: explicitly ignore fd_wait_for_event()'s return value
Fixes CID#1402316
This commit is contained in:
parent
a5d27871f7
commit
54756dce57
@ -1621,7 +1621,7 @@ static void do_idle_pipe_dance(int idle_pipe[static 4]) {
|
||||
n = write(idle_pipe[3], "x", 1);
|
||||
if (n > 0)
|
||||
/* Wait for systemd to react to the signal above. */
|
||||
fd_wait_for_event(idle_pipe[0], POLLHUP, IDLE_TIMEOUT2_USEC);
|
||||
(void) fd_wait_for_event(idle_pipe[0], POLLHUP, IDLE_TIMEOUT2_USEC);
|
||||
}
|
||||
|
||||
idle_pipe[0] = safe_close(idle_pipe[0]);
|
||||
|
Loading…
Reference in New Issue
Block a user