Cosmetics.

This commit is contained in:
Tommaso Chiti 2022-05-12 10:24:35 +02:00
parent 8daefa49a7
commit 4247de265d

View file

@ -119,16 +119,16 @@ network_installer () {
# User enters a password for the LUKS Container (function). # User enters a password for the LUKS Container (function).
lukspass_selector () { lukspass_selector () {
read -r -s -p "Insert password for the LUKS container (you're not going to see the password): " password read -r -s -p "Insert the password for the LUKS container (you're not going to see the password): " password
if [ -z "$password" ]; then if [ -z "$password" ]; then
incEcho "\nYou need to enter a password for the LUKS Container in order to continue." incEcho "You need to enter a password for the LUKS Container in order to continue."
return 1 return 1
fi fi
echo echo
read -r -s -p "Password (again): " password2 read -r -s -p "Insert the password for the LUKS container again: " password2
echo echo
if [ "$password" != "$password2" ]; then if [ "$password" != "$password2" ]; then
incEcho "Passwords don't match, try again." incEcho "Passwords don't match, please try again."
return 1 return 1
fi fi
return 0 return 0