From 2b949499ba1c79122f666204ec0356e255aff152 Mon Sep 17 00:00:00 2001 From: natemaia Date: Mon, 9 Sep 2019 02:02:30 -0700 Subject: [PATCH] Fix: error in root password logic --- archlabs-installer | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/archlabs-installer b/archlabs-installer index c8de397..a8a1001 100755 --- a/archlabs-installer +++ b/archlabs-installer @@ -14,7 +14,7 @@ # will result in "My Distro Linux" used where needed : ${DIST="ArchLabs"} -VER="2.0.68" # installer version +VER="2.0.69" # installer version MNT="/mnt" # install mountpoint ANS="/tmp/ans" # dialog answer file @@ -492,7 +492,7 @@ select_mkuser() "Password2:" 9 1 '' 9 12 "$COLUMNS" 0 1 2>"$ANS" || return 1 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++ )) done < "$ANS"