summaryrefslogtreecommitdiffstats
path: root/src/nspawn
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2024-10-17 09:43:37 +0200
committerLennart Poettering <lennart@poettering.net>2024-10-17 09:48:05 +0200
commit33dd8945461f8d0ae10d11801fd517d4ea299591 (patch)
treec74ec944085713e99da32574964ecb5e7c143d50 /src/nspawn
parentMerge pull request #34597 from ryantimwilson/oomd-pressure-duration (diff)
downloadsystemd-33dd8945461f8d0ae10d11801fd517d4ea299591.tar.xz
systemd-33dd8945461f8d0ae10d11801fd517d4ea299591.zip
fdset: optionally, close remaining fds asynchronously
Diffstat (limited to 'src/nspawn')
-rw-r--r--src/nspawn/nspawn.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nspawn/nspawn.c b/src/nspawn/nspawn.c
index 70ce4e6d79..8fc58665e4 100644
--- a/src/nspawn/nspawn.c
+++ b/src/nspawn/nspawn.c
@@ -5267,7 +5267,7 @@ static int run_container(
barrier_set_role(&barrier, BARRIER_PARENT);
- fdset_close(fds);
+ fdset_close(fds, /* async= */ false);
fd_inner_socket_pair[1] = safe_close(fd_inner_socket_pair[1]);
fd_outer_socket_pair[1] = safe_close(fd_outer_socket_pair[1]);