summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Alexander Steffens (heftig) <jan.steffens@gmail.com>2017-08-24 17:03:32 +0200
committerJan Alexander Steffens (heftig) <jan.steffens@gmail.com>2017-08-24 17:03:32 +0200
commit000ea6c7bbf6191bd284468dde4eb352757e84df (patch)
tree997f0177cd5a62a455980e460baa0c4d9e98b85d
parent57151348843446141b90a4af365416d39bdcbbc2 (diff)
downloaddevtools-000ea6c7bbf6191bd284468dde4eb352757e84df.tar.xz
arch-nspawn: Add --keep-unit to prevent scope conflicts
-rw-r--r--arch-nspawn.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch-nspawn.in b/arch-nspawn.in
index c21b2ce..0cdaf6b 100644
--- a/arch-nspawn.in
+++ b/arch-nspawn.in
@@ -113,6 +113,6 @@ eval "$(grep '^CARCH=' "$working_dir/etc/makepkg.conf")"
exec ${CARCH:+setarch "$CARCH"} systemd-nspawn -q \
-D "$working_dir" \
- --register=no \
+ --register=no --keep-unit \
"${mount_args[@]}" \
"$@"