process-util: leave actual log fd closing to close_all_fds() if the latter will be done anyways

This commit is contained in:
Mike Yuan
2026-03-01 13:18:19 +01:00
parent ac4a7a66bd
commit abffc0ef43
+1 -1
View File
@@ -1808,7 +1808,7 @@ int namespace_fork_full(
return 0;
}
log_close();
log_forget_fds();
log_set_open_when_needed(true);
(void) close_all_fds(&pidref_inner.fd, 1);