From: Frantisek Sumsal Date: Tue, 1 Oct 2019 08:25:36 +0000 (+0200) Subject: execute: explicitly ignore fd_wait_for_event()'s return value X-Git-Tag: v244-rc1~241^2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F13691%2Fhead;p=thirdparty%2Fsystemd.git execute: explicitly ignore fd_wait_for_event()'s return value Fixes CID#1402316 --- diff --git a/src/core/execute.c b/src/core/execute.c index ec95ce3d104..54775e9dfa0 100644 --- a/src/core/execute.c +++ b/src/core/execute.c @@ -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]);