From a81a6432fa0d2555311b09b1f49198aed94c4197 Mon Sep 17 00:00:00 2001 From: "Toerd@archlinux" Date: Mon, 6 Apr 2020 03:24:22 +0200 Subject: [PATCH] fix: newline between pw checks --- bootstrap.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bootstrap.sh b/bootstrap.sh index e2a48d7..d2e9a94 100755 --- a/bootstrap.sh +++ b/bootstrap.sh @@ -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