From e951efc42bb451e8f4f06ff01651998d75691d46 Mon Sep 17 00:00:00 2001 From: rootzoll Date: Wed, 28 Nov 2018 12:50:02 +0100 Subject: [PATCH] debug comit --- home.admin/20initDialog.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/home.admin/20initDialog.sh b/home.admin/20initDialog.sh index d5ab68a..b8a3efe 100755 --- a/home.admin/20initDialog.sh +++ b/home.admin/20initDialog.sh @@ -50,6 +50,8 @@ Write them down & store them in a safe place. passwordValid=1 clearedResult=$(echo '${result}' | tr -dc '[:alnum:]-.') + echo "(${clearedResult}) (${#clearedResult} )" + echo "(${result}) (${#result})" if [ ${#clearedResult} != ${#result} ]; then clear echo "FAIL - Password contained not allowed chars" @@ -58,6 +60,8 @@ Write them down & store them in a safe place. passwordValid=0 fi + exit 1 + # check input (check for more later) if [ ${#result} -eq 0 ]; then clear