mirror of
https://github.com/systemd/systemd.git
synced 2026-08-05 15:40:26 +00:00
nspawn: close unneeded sockets in outer child
(David: Note, this is just a cleanup and doesn't fix any bugs)
This commit is contained in:
committed by
David Herrmann
parent
d960371482
commit
327e26d689
@@ -2787,6 +2787,8 @@ static int outer_child(
|
||||
}
|
||||
|
||||
pid_socket = safe_close(pid_socket);
|
||||
kmsg_socket = safe_close(kmsg_socket);
|
||||
rtnl_socket = safe_close(rtnl_socket);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user