Browse Source

debug comit

#146
rootzoll 6 years ago
parent
commit
e951efc42b
  1. 4
      home.admin/20initDialog.sh

4
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

Loading…
Cancel
Save