summaryrefslogtreecommitdiff
path: root/mkarchroot.in
diff options
context:
space:
mode:
Diffstat (limited to 'mkarchroot.in')
-rw-r--r--mkarchroot.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/mkarchroot.in b/mkarchroot.in
index bfdec39..ce732be 100644
--- a/mkarchroot.in
+++ b/mkarchroot.in
@@ -90,7 +90,7 @@ shift 1
if [[ $MODE == u ]]; then
MODE=r
- set -- /bin/sh -c 'pacman -Syu --noconfirm && (pacman -Qqu >/dev/null && pacman -Su --noconfirm || exit 0)'
+ set -- pacman -Syu --noconfirm
fi
################################################################################
@@ -155,7 +155,7 @@ chroot_run() {
if [[ $NONETWORK = y ]]; then
nspawn_args+=(--private-network)
fi
- eval systemd-nspawn "${nspawn_args[@]}" -- "${@}" 2>/dev/null
+ systemd-nspawn "${nspawn_args[@]}" -- "${@}" 2>/dev/null
}
# }}}