mirror of
https://github.com/morgan9e/systemd
synced 2026-04-15 00:47:10 +09:00
run: void'ify sd_event_exit() call
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user