From: Michael Tremer Date: Sat, 22 Feb 2025 16:12:19 +0000 (+0000) Subject: jail: Use the reference to the loop that we already have X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=71372d7b3152c72c2a240a36aadc580c461ec075;p=pakfire.git jail: Use the reference to the loop that we already have Signed-off-by: Michael Tremer --- diff --git a/src/pakfire/jail.c b/src/pakfire/jail.c index 9761ee8a..89530d41 100644 --- a/src/pakfire/jail.c +++ b/src/pakfire/jail.c @@ -983,7 +983,7 @@ static int pakfire_jail_exited(sd_event_source* source, const siginfo_t* si, voi pakfire_pty_drain(ctx->pty); // Terminate the event loop - return sd_event_exit(sd_event_source_get_event(source), 0); + return sd_event_exit(ctx->loop, 0); } struct pakfire_jail_command {