From 54756dce5733e03d7711a61f02d43effd96cd312 Mon Sep 17 00:00:00 2001 From: Frantisek Sumsal Date: Tue, 1 Oct 2019 10:25:36 +0200 Subject: [PATCH] execute: explicitly ignore fd_wait_for_event()'s return value Fixes CID#1402316 --- src/core/execute.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/execute.c b/src/core/execute.c index ec95ce3..54775e9 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]); -- 2.7.4