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 e422373..a0b00af 100644
--- a/arch-nspawn.in
+++ b/arch-nspawn.in
@@ -134,6 +134,6 @@ copy_hostconf
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[@]}" \
"$@"