fix: newline between pw checks

master
Toerd@archlinux 5 years ago
parent eaa51f1fda
commit a81a6432fa

@ -13,6 +13,7 @@ init() {
[ -z "$NAME" ] && read -p "Hostname: " NAME
while [ -z "$PASSWD" ] || [ ! "$PASSWD" = "$CHECK" ]; do
read -sp "Root password: " PASSWD
echo
read -sp "Repeat: " CHECK
done
# Show some possible disks
@ -28,6 +29,7 @@ init() {
echo "DEVICEPARTS = $DEV$SUF"
read -p "Do you want to continue with these values (y/n): " cont
[ ! "$cont" = "y" ] && unset NAME PASSWD DEV && init
echo "Let's GOOOO"
}
# stop on error

Loading…
Cancel
Save