From 1c7b9693d376b0edb3a9bfc8313157869c5c7cd0 Mon Sep 17 00:00:00 2001 From: Steven Foerster Date: Fri, 12 Mar 2021 11:54:44 -0500 Subject: [PATCH] typo --- scripts/subinstallers/passwd.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/subinstallers/passwd.sh b/scripts/subinstallers/passwd.sh index f110ffa..505599f 100755 --- a/scripts/subinstallers/passwd.sh +++ b/scripts/subinstallers/passwd.sh @@ -7,7 +7,7 @@ while [ -z "${MISTBORN_DEFAULT_PASSWORD}" ]; do read -p "(Mistborn) Set default admin password: " -s MISTBORN_DEFAULT_PASSWORD echo - if [[ $s =~ ^[A-Za-z_]+$ ]]; then + if [[ ${MISTBORN_DEFAULT_PASSWORD} =~ ^[A-Za-z_]+$ ]]; then # it matches echo "(Mistborn) Password is accepted" else