mirror of
https://github.com/rootzoll/raspiblitz.git
synced 2024-11-20 02:09:15 +01:00
debug comit
This commit is contained in:
parent
2e3a87e94e
commit
e951efc42b
@ -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…
Reference in New Issue
Block a user