diff --git a/setup/arch-autoinstall.sh b/setup/arch-autoinstall.sh index 722e1a2..b08b12b 100755 --- a/setup/arch-autoinstall.sh +++ b/setup/arch-autoinstall.sh @@ -190,7 +190,7 @@ else fi # Password always prompted — never stored in answerfile -read -rsp "Enter password for $USERNAME: " USERPASS; echo +read -rp "Enter password for $USERNAME: " USERPASS [[ -z "$USERPASS" ]] && { echo "Error: password cannot be empty."; exit 1; } if ! $AF_MODE; then diff --git a/setup/archbaseos-guided-install.sh b/setup/archbaseos-guided-install.sh index 597b19b..947faad 100755 --- a/setup/archbaseos-guided-install.sh +++ b/setup/archbaseos-guided-install.sh @@ -174,7 +174,7 @@ else fi fi -read -rsp "Password for $USERNAME: " USERPASS; echo +read -rp "Password for $USERNAME: " USERPASS [[ -z "$USERPASS" ]] && { echo "Error: password cannot be empty."; exit 1; } lsblk