summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-x[-rw-r--r--]examples/chrootfuse2fs.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/chrootfuse2fs.py b/examples/chrootfuse2fs.py
index 8864a90..eaffe25 100644..100755
--- a/examples/chrootfuse2fs.py
+++ b/examples/chrootfuse2fs.py
@@ -21,7 +21,7 @@ import linuxnamespaces
def main() -> None:
- fsimage = pathlib.Path(sys.argv[2])
+ fsimage = pathlib.Path(sys.argv[1])
assert fsimage.exists()
uidmap = linuxnamespaces.IDAllocation.loadsubid("uid").allocatemap(65536)
gidmap = linuxnamespaces.IDAllocation.loadsubid("gid").allocatemap(65536)