diff options
-rwxr-xr-x | examples/chrootfuse.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/examples/chrootfuse.py b/examples/chrootfuse.py index ef67e8a..93a9da0 100755 --- a/examples/chrootfuse.py +++ b/examples/chrootfuse.py @@ -50,6 +50,7 @@ def main() -> None: "squashfs": "squashfuse", }[args.fstype] os.execlp(driver, driver, str(args.fsimage), "/dev/fd/%d" % fds[0]) + childsock.close() linuxnamespaces.unshare( linuxnamespaces.CloneFlags.NEWUSER | linuxnamespaces.CloneFlags.NEWNS ) |