World4You Bugfix 2

This commit is contained in:
Lorenz Stechauner 2020-11-27 22:29:31 +01:00
parent 2edc4a79b9
commit 13f6ec04d5
1 changed files with 1 additions and 1 deletions

View File

@ -171,7 +171,7 @@ _get_paketnr() {
domains=$(echo "$form" | _ggrep -E '^\s*([A-Za-z0-9_-]+\.)+[A-Za-z0-9_-]*$' | sed 's/^\s*\(\S*\)$/\1/')
domain=''
for domain in $domains; do
if $(echo "$domain" | grep -q "$tld\$"); then
if echo "$domain" | grep -q "$tld\$"; then
break
fi
done