mirror of
https://github.com/community-scripts/ProxmoxVED.git
synced 2026-02-25 16:05:54 +00:00
Update password check in config_file function for clarity and consistency
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user