summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xexamples/userchroot.py10
1 files changed, 0 insertions, 10 deletions
diff --git a/examples/userchroot.py b/examples/userchroot.py
index 73d52b3..9c05c6f 100755
--- a/examples/userchroot.py
+++ b/examples/userchroot.py
@@ -18,16 +18,6 @@ if __file__.split("/")[-2:-1] == ["examples"]:
import linuxnamespaces
-def open_tree_clone_rec(
- path: linuxnamespaces.PathConvertible,
-) -> linuxnamespaces.AtLocation:
- return linuxnamespaces.open_tree(
- path,
- linuxnamespaces.OpenTreeFlags.OPEN_TREE_CLONE
- | linuxnamespaces.OpenTreeFlags.AT_RECURSIVE,
- )
-
-
def main() -> None:
chrootdir = pathlib.Path(sys.argv[1])
assert chrootdir.is_dir()