Browse Source

_get_root was not giving me the root domain

changed "i" to 2, now I get the root domain and the easydns request works correctly.
pull/4008/head
gaby64 4 years ago
committed by GitHub
parent
commit
5f67fd6615
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      dnsapi/dns_easydns.sh

2
dnsapi/dns_easydns.sh

@ -115,7 +115,7 @@ dns_easydns_rm() {
# _domain=domain.com
_get_root() {
domain=$1
i=1
i=2
p=1
while true; do
h=$(printf "%s" "$domain" | cut -d . -f $i-100)

Loading…
Cancel
Save