diff --git a/home.admin/20initDialog.sh b/home.admin/20initDialog.sh index 9ba90b49..1be49197 100755 --- a/home.admin/20initDialog.sh +++ b/home.admin/20initDialog.sh @@ -49,7 +49,7 @@ Write them down & store them in a safe place. shred $_temp passwordValid=1 - clearedResult=$(echo '${result}' | tr -dc '[:alnum:]-.') + clearedResult=$(echo '${result}' | tr -dc '[:alnum:]-.' | tr -d ' ') #echo "(${clearedResult}) (${#clearedResult} )" #echo "(${result}) (${#result})" if [ ${#clearedResult} != ${#result} ]; then