summaryrefslogtreecommitdiff
path: root/arch-nspawn.in
diff options
context:
space:
mode:
Diffstat (limited to 'arch-nspawn.in')
-rw-r--r--arch-nspawn.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch-nspawn.in b/arch-nspawn.in
index a225c1a..7f778be 100644
--- a/arch-nspawn.in
+++ b/arch-nspawn.in
@@ -118,6 +118,6 @@ esac
exec ${CARCH:+setarch "$CARCH"} systemd-nspawn -q \
-D "$working_dir" \
-E "PATH=/usr/local/sbin:/usr/local/bin:/usr/bin" \
- --register=no --keep-unit \
+ --register=no --keep-unit --as-pid2 \
"${mount_args[@]}" \
"$@"