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