From 71372d7b3152c72c2a240a36aadc580c461ec075 Mon Sep 17 00:00:00 2001 From: Michael Tremer Date: Sat, 22 Feb 2025 16:12:19 +0000 Subject: [PATCH] jail: Use the reference to the loop that we already have Signed-off-by: Michael Tremer --- src/pakfire/jail.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 { -- 2.39.5