Skip to content

Commit

Permalink
dns_word4you: Fix for OpenBSD
Browse files Browse the repository at this point in the history
  • Loading branch information
NerLOR committed Nov 30, 2024
1 parent 9cd1d1a commit 157d3f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dnsapi/dns_world4you.sh
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ _get_paketnr() {
TLD="$domain"
_debug domain "$domain"
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
}

Expand Down

0 comments on commit 157d3f9

Please sign in to comment.