summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--arch-nspawn.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch-nspawn.in b/arch-nspawn.in
index 5205bf4..c55f498 100644
--- a/arch-nspawn.in
+++ b/arch-nspawn.in
@@ -114,6 +114,6 @@ eval "$(grep '^CARCH=' "$working_dir/etc/makepkg.conf")"
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[@]}" \
"$@"