dissect: Fix logging in (with)
This commit is contained in:
committed by
Daan De Meyer
parent
09e38c2709
commit
53d1d6e49c
@@ -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 */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user