]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
run: void'ify sd_event_exit() call
authorMike Yuan <me@yhndnzj.com>
Sun, 16 Mar 2025 23:11:12 +0000 (00:11 +0100)
committerMike Yuan <me@yhndnzj.com>
Mon, 17 Mar 2025 00:37:29 +0000 (01:37 +0100)
src/run/run.c

index 7d66590b34910ccd94263ceebc15e9499940484d..182925aff0bb8796f1ac5686806b1ec3a398dc46 100644 (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;
         }