summaryrefslogtreecommitdiff
path: root/demos
diff options
context:
space:
mode:
authorSimon McVittie <smcv@collabora.com>2017-10-31 15:21:37 +0000
committerAtomic Bot <atomic-devel@projectatomic.io>2017-11-03 17:55:16 +0000
commitb8fa270e8937ed26e4e684050d221202b475c708 (patch)
tree2edc46b660fa9e4adab5d0f090f4bf6313d5f64a /demos
parent30338c3f0db758379e87277c08b4aa66168e1a26 (diff)
downloadbubblewrap-b8fa270e8937ed26e4e684050d221202b475c708.tar.gz
userns-block-fd: Search the PATH for bwrap
This means we can use it with an installed bwrap, which seems a more common use of a demo script than a just-compiled bwrap, and is consistent with the shell scripts. Signed-off-by: Simon McVittie <smcv@collabora.com> Closes: #246 Approved by: giuseppe
Diffstat (limited to 'demos')
-rwxr-xr-xdemos/userns-block-fd.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/demos/userns-block-fd.py b/demos/userns-block-fd.py
index a390cce..67b6d8b 100755
--- a/demos/userns-block-fd.py
+++ b/demos/userns-block-fd.py
@@ -33,4 +33,4 @@ else:
"--bind", "/", "/",
"cat", "/proc/self/uid_map"]
- os.execl(*args)
+ os.execlp(*args)