Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/arch-nspawn.in
diff options
context:
space:
mode:
Diffstat (limited to 'arch-nspawn.in')
-rw-r--r--arch-nspawn.in19
1 files changed, 5 insertions, 14 deletions
diff --git a/arch-nspawn.in b/arch-nspawn.in
index dbccdda..4a92f09 100644
--- a/arch-nspawn.in
+++ b/arch-nspawn.in
@@ -96,17 +96,8 @@ copy_hostconf
eval $(grep '^CARCH=' "$working_dir/etc/makepkg.conf")
-
-if [[ $CARCH = i686 ]]; then
- exec ${CARCH:+setarch "$CARCH"} systemd-nspawn -q \
- -D "$working_dir" \
- --register=no \
- "${mount_args[@]}" \
- "$@"
-else
- exec systemd-nspawn -q \
- -D "$working_dir" \
- --register=no \
- "${mount_args[@]}" \
- "$@"
-fi
+exec ${CARCH:+setarch "$CARCH"} systemd-nspawn -q \
+ -D "$working_dir" \
+ --register=no \
+ "${mount_args[@]}" \
+ "$@"