Browse Source

Update dns_leaseweb.sh

pull/1673/head
m-boone 8 years ago
committed by GitHub
parent
commit
badfce6d10
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 8
      dnsapi/dns_leaseweb.sh

8
dnsapi/dns_leaseweb.sh

@ -56,7 +56,7 @@ dns_leaseweb_add() {
fi
else
_info "Record already present, OK"
return 0
return 0
fi
else
_info "No TXT records set found. Adding records set"
@ -159,9 +159,9 @@ _dns_leaseweb_get_root() {
fi
if _contains "$response" "\"domainName\":\"$h\"" >/dev/null; then
_sub_domain=$(printf "%s" "$domain" | cut -d . -f 1-$p)
_domain=$h
return 0
_sub_domain=$(printf "%s" "$domain" | cut -d . -f 1-$p)
_domain=$h
return 0
fi
p=$i
i=$(_math "$i" + 1)

Loading…
Cancel
Save