From: DaanDeMeyer Date: Fri, 26 Dec 2025 21:36:08 +0000 (+0100) Subject: dissect: Fix logging in (with) X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=53d1d6e49cd95c6525a089e3e4da89932756ef3c;p=thirdparty%2Fsystemd.git dissect: Fix logging in (with) --- 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 */