Fix make-rslave args

This commit is contained in:
Salt 2020-12-27 17:21:10 -06:00
parent 5add86cdd9
commit b4637075bf

View File

@ -110,7 +110,7 @@ arch-chroot() {
log "Mounting $dir" log "Mounting $dir"
if ! grep -qs "$_optdest/$dir " /proc/mounts; then if ! grep -qs "$_optdest/$dir " /proc/mounts; then
mount --rbind /$dir "$_optdest/$dir" mount --rbind /$dir "$_optdest/$dir"
mount --make-rslave /$dir "$_optdest/$dir" mount --make-rslave "$_optdest/$dir"
fi fi
done done
chroot "$_optdest" /archstrap.sh -c chroot "$_optdest" /archstrap.sh -c