Add missing $ in usermod command

This commit is contained in:
Felix Yan 2022-07-28 01:20:08 +08:00 committed by Coelacanthus
parent a9b5239528
commit c878d1729f

View file

@ -22,7 +22,7 @@ yes y | sudo pacman \
--sync --clean --clean
msg "Set root password (Default: archriscv)..."
sudo usermod --root (realpath ./rootfs) --password $(perl -e "print crypt('archriscv','yescrypt')") root
sudo usermod --root $(realpath ./rootfs) --password $(perl -e "print crypt('archriscv','yescrypt')") root
msg "Compressing rootfs..."
sudo bsdtar --create --zstd --verbose --xattrs --acls -f "archriscv-$(date --rfc-3339=date).tar.zst" -C rootfs/ .