summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorColin Walters <walters@verbum.org>2017-03-28 12:17:36 -0400
committerAtomic Bot <atomic-devel@projectatomic.io>2017-03-29 06:25:24 +0000
commitb8e6e1159e63045679ae57b8b379b39eae7798a6 (patch)
tree3b6b2b8d9da5d846d16cd01a20793555f153d594
parent30548332a7d04328487906edcd999c3dab67db28 (diff)
downloadbubblewrap-b8e6e1159e63045679ae57b8b379b39eae7798a6.tar.gz
demos/shell: Use --die-with-parent
As I said in the release notes, I think the majority of use cases want this, which includes this interactive shell. Closes: #189 Approved by: alexlarsson
-rwxr-xr-xdemos/bubblewrap-shell.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/demos/bubblewrap-shell.sh b/demos/bubblewrap-shell.sh
index 2f0bb1b..1cdb788 100755
--- a/demos/bubblewrap-shell.sh
+++ b/demos/bubblewrap-shell.sh
@@ -23,6 +23,7 @@ set -euo pipefail
--chdir / \
--unshare-all \
--share-net \
+ --die-with-parent \
--dir /run/user/$(id -u) \
--setenv XDG_RUNTIME_DIR "/run/user/`id -u`" \
--setenv PS1 "bwrap-demo$ " \