dissect: Fix logging in (with)

This commit is contained in:
DaanDeMeyer
2026-02-12 09:43:07 +01:00
committed by Daan De Meyer
parent 09e38c2709
commit 53d1d6e49c
+1 -1
View File
@@ -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 */