mirror of
https://github.com/classy-giraffe/easy-arch.git
synced 2025-11-17 19:40:55 +00:00
Cosmetics again.
This commit is contained in:
parent
72eab02efa
commit
3a6a4cc36d
1 changed files with 3 additions and 3 deletions
|
|
@ -134,14 +134,14 @@ userpass_selector () {
|
||||||
fi
|
fi
|
||||||
read -r -s -p "Insert a user password for $username (you're not going to see the password): " userpass
|
read -r -s -p "Insert a user password for $username (you're not going to see the password): " userpass
|
||||||
if [[ -z "$userpass" ]]; then
|
if [[ -z "$userpass" ]]; then
|
||||||
incEcho "You need to enter a password for $username."
|
incEcho "You need to enter a password for $username in order to continue."
|
||||||
return 1
|
return 1
|
||||||
fi
|
fi
|
||||||
echo
|
echo
|
||||||
read -r -s -p "Insert the password again (for double checking): " userpass2
|
read -r -s -p "Insert the password again (you're not going to see the password): " userpass2
|
||||||
echo
|
echo
|
||||||
if [[ "$userpass" != "$userpass2" ]]; then
|
if [[ "$userpass" != "$userpass2" ]]; 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
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue