mirror of
https://github.com/classy-giraffe/easy-arch.git
synced 2025-11-17 19:40:55 +00:00
Cosmetics (indentation).
This commit is contained in:
parent
9445b2ab50
commit
40af31b236
1 changed files with 8 additions and 12 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue