Browse Source

dns_word4you: Fix for OpenBSD

pull/6114/head
Lorenz Stechauner 4 weeks ago
parent
commit
157d3f9dc9
  1. 2
      dnsapi/dns_world4you.sh

2
dnsapi/dns_world4you.sh

@ -218,7 +218,7 @@ _get_paketnr() {
TLD="$domain" TLD="$domain"
_debug domain "$domain" _debug domain "$domain"
RECORD=$(echo "$fqdn" | cut -c"1-$((${#fqdn} - ${#TLD} - 1))") RECORD=$(echo "$fqdn" | cut -c"1-$((${#fqdn} - ${#TLD} - 1))")
PAKETNR=$(echo "$domains" | grep "$domain" | sed 's/^[^,]*, *\([0-9]*\).*$/\1/')
PAKETNR=$(echo "$domains" | grep -o " $domain.*" | sed 's/^[^,]*, *\([0-9]*\).*$/\1/')
return 0 return 0
} }

Loading…
Cancel
Save