From: Mike Yuan Date: Sun, 1 Mar 2026 12:53:35 +0000 (+0100) Subject: core/execute: drop redundant close of root_directory_fd X-Git-Tag: v260-rc2~49^2~4 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b702bbc31cb83396f02347760784a8e45fb18134;p=thirdparty%2Fsystemd.git core/execute: drop redundant close of root_directory_fd exec_params_shallow_clear() will take care of it. --- diff --git a/src/core/execute.c b/src/core/execute.c index a2d148fde53..80c22623be7 100644 --- a/src/core/execute.c +++ b/src/core/execute.c @@ -2936,7 +2936,6 @@ void exec_params_deep_clear(ExecParameters *p) { p->stdin_fd = safe_close(p->stdin_fd); p->stdout_fd = safe_close(p->stdout_fd); p->stderr_fd = safe_close(p->stderr_fd); - p->root_directory_fd = safe_close(p->root_directory_fd); p->notify_socket = mfree(p->notify_socket);