From 53d1d6e49cd95c6525a089e3e4da89932756ef3c Mon Sep 17 00:00:00 2001 From: DaanDeMeyer Date: Fri, 26 Dec 2025 22:36:08 +0100 Subject: [PATCH] dissect: Fix logging in (with) --- src/dissect/dissect.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/dissect/dissect.c b/src/dissect/dissect.c index b6b122afb74..bb0a0a16efb 100644 --- a/src/dissect/dissect.c +++ b/src/dissect/dissect.c @@ -1785,7 +1785,7 @@ static int action_with(DissectedImage *m, LoopDevice *d) { return log_error_errno(r, "Failed to unlock loopback block device: %m"); } - rcode = pidref_safe_fork("(with)", FORK_CLOSE_ALL_FDS|FORK_LOG|FORK_WAIT, /* ret= */ NULL); + rcode = pidref_safe_fork("(with)", FORK_CLOSE_ALL_FDS|FORK_LOG|FORK_REOPEN_LOG|FORK_WAIT, /* ret= */ NULL); if (rcode == 0) { /* Child */ -- 2.47.3