Cosmetics (indentation).

This commit is contained in:
Tommaso Chiti 2022-05-28 13:52:40 +02:00
parent 9445b2ab50
commit 40af31b236

View file

@ -137,9 +137,7 @@ userpass_selector () {
incEcho "You need to enter a password for $username in order to continue."
return 1
fi
echo
read -r -s -p "Insert the password again (you're not going to see the password): " userpass2
echo
if [[ "$userpass" != "$userpass2" ]]; then
incEcho "Passwords don't match, please try again."
return 1
@ -154,9 +152,7 @@ rootpass_selector () {
incEcho "You need to enter a root password."
return 1
fi
echo
read -r -s -p "Insert the password again (for double checking): " rootpass2
echo
if [[ "$rootpass" != "$rootpass2" ]]; then
incEcho "Passwords don't match, try again."
return 1