Fix: error in root password logic
This commit is contained in:
parent
b0f6091391
commit
2b949499ba
@ -14,7 +14,7 @@
|
|||||||
# will result in "My Distro Linux" used where needed
|
# will result in "My Distro Linux" used where needed
|
||||||
: ${DIST="ArchLabs"}
|
: ${DIST="ArchLabs"}
|
||||||
|
|
||||||
VER="2.0.68" # installer version
|
VER="2.0.69" # installer version
|
||||||
MNT="/mnt" # install mountpoint
|
MNT="/mnt" # install mountpoint
|
||||||
ANS="/tmp/ans" # dialog answer file
|
ANS="/tmp/ans" # dialog answer file
|
||||||
|
|
||||||
@ -492,7 +492,7 @@ select_mkuser()
|
|||||||
"Password2:" 9 1 '' 9 12 "$COLUMNS" 0 1 2>"$ANS" || return 1
|
"Password2:" 9 1 '' 9 12 "$COLUMNS" 0 1 2>"$ANS" || return 1
|
||||||
|
|
||||||
while read -r line; do
|
while read -r line; do
|
||||||
case $i in 0) u="$line" ;; 1) p="$line" ;; 2) p2="$line" ;; 3) rp="$line" ;; 4) rp2="$line" ;; esac
|
case $i in 0) u="$line" ;; 1) p="$line" ;; 2) p2="$line" ;; 4) rp="$line" ;; 5) rp2="$line" ;; esac
|
||||||
(( i++ ))
|
(( i++ ))
|
||||||
done < "$ANS"
|
done < "$ANS"
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user