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:
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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue