diff options
author | Simon McVittie <smcv@collabora.com> | 2017-10-31 15:21:37 +0000 |
---|---|---|
committer | Atomic Bot <atomic-devel@projectatomic.io> | 2017-11-03 17:55:16 +0000 |
commit | b8fa270e8937ed26e4e684050d221202b475c708 (patch) | |
tree | 2edc46b660fa9e4adab5d0f090f4bf6313d5f64a /demos | |
parent | 30338c3f0db758379e87277c08b4aa66168e1a26 (diff) | |
download | bubblewrap-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-x | demos/userns-block-fd.py | 2 |
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) |