From: Mike Yuan Date: Sun, 16 Mar 2025 23:11:12 +0000 (+0100) Subject: run: void'ify sd_event_exit() call X-Git-Tag: v258-rc1~1068^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=647ff4b65ec078ec384957268d7919be828fab62;p=thirdparty%2Fsystemd.git run: void'ify sd_event_exit() call --- diff --git a/src/run/run.c b/src/run/run.c index 7d66590b349..182925aff0b 100644 --- a/src/run/run.c +++ b/src/run/run.c @@ -1679,7 +1679,7 @@ static int run_context_check_started(RunContext *c) { /* Setup ptyfwd now if --pty-late is specified. */ r = run_context_setup_ptyfwd(c); if (r < 0) { - sd_event_exit(c->event, EXIT_FAILURE); + (void) sd_event_exit(c->event, EXIT_FAILURE); return r; }