_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.
This commit is contained in:
gaby64 2022-03-30 15:52:50 -04:00 committed by GitHub
parent 6145465823
commit 5f67fd6615
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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)