debug comit

This commit is contained in:
rootzoll 2018-11-28 12:50:02 +01:00
parent 2e3a87e94e
commit e951efc42b

View File

@ -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