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 0bdd921..ca7edbe 100644
--- a/arch-nspawn.in
+++ b/arch-nspawn.in
@@ -103,7 +103,7 @@ if [[ ${#machine_name} -gt "$HOST_NAME_MAX" ]]; then
machine_name="${machine_name#-}"
fi
-exec ${CARCH:+setarch "$CARCH"} systemd-nspawn \
+exec ${CARCH:+setarch "$CARCH"} systemd-nspawn 2>/dev/null \
-D "$working_dir" \
--machine "$machine_name" \
"${mount_args[@]}" \