summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Alexander Steffens (heftig) <jan.steffens@gmail.com>2017-08-24 17:03:32 +0200
committerErich Eckner <git@eckner.net>2017-08-25 10:14:52 +0200
commit85eaf4707a9a846db28d6a005ffe3d2895d356e8 (patch)
treeaf74e2667cdfda917c4f21b141e7acfb01c15dd7
parent5a54a5668a536e280674085772d20b2f3d3dca6d (diff)
downloaddevtools-85eaf4707a9a846db28d6a005ffe3d2895d356e8.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 453792b..8009534 100644
--- a/arch-nspawn.in
+++ b/arch-nspawn.in
@@ -133,6 +133,6 @@ copy_hostconf
exec ${CARCH:+setarch "$CARCH"} systemd-nspawn -q \
-D "$working_dir" \
- --register=no \
+ --register=no --keep-unit \
"${mount_args[@]}" \
"$@"