run: void'ify sd_event_exit() call

This commit is contained in:
Mike Yuan
2025-03-17 00:11:12 +01:00
parent 99a7386a9e
commit 647ff4b65e

View File

@@ -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;
}