Browse Source

World4You Shellcheck

pull/3261/head
Lorenz Stechauner 4 years ago
parent
commit
42583cf3bb
  1. 2
      dnsapi/dns_world4you.sh

2
dnsapi/dns_world4you.sh

@ -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 "$tld\$") ]; then
if [ "$(echo "$domain" | grep -q "$tld\$")" ]; then
break
fi
done

Loading…
Cancel
Save