Update password check in config_file function for clarity and consistency
This commit is contained in:
parent
19d6c289a7
commit
ccc3c72bb9
@ -874,7 +874,7 @@ config_file() {
|
||||
|
||||
|
||||
if [[ -n "${PW-}" ]]; then
|
||||
if [[ "$PW" == "no" ]]; then
|
||||
if [[ "$PW" == "none" ]]; then
|
||||
PW=""
|
||||
else
|
||||
if [[ "$PW" == *" "* ]]; then
|
||||
@ -912,7 +912,6 @@ config_file() {
|
||||
else
|
||||
PW1="Automatic Login"
|
||||
PW=""
|
||||
PW_CONFIG="no"
|
||||
echo -e "${VERIFYPW}${BOLD}${DGN}Root Password: ${BGN}$PW1${CL}"
|
||||
break
|
||||
fi
|
||||
|
Loading…
x
Reference in New Issue
Block a user