From: Mike Yuan Date: Sat, 28 Feb 2026 21:43:31 +0000 (+0100) Subject: process-util: leave actual log fd closing to close_all_fds() if the latter will be... X-Git-Tag: v260-rc2~49^2~5 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=abffc0ef431901e4be360a5fd882eed0d842c93c;p=thirdparty%2Fsystemd.git process-util: leave actual log fd closing to close_all_fds() if the latter will be done anyways --- diff --git a/src/basic/process-util.c b/src/basic/process-util.c index 3f2c2d3b238..e3d6b3905d4 100644 --- a/src/basic/process-util.c +++ b/src/basic/process-util.c @@ -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);