Commit 1e5e3353 authored by Roman Zabaluev's avatar Roman Zabaluev Committed by Haarolean
Browse files

Fix porkbun issues

See gh-3450
parent 7aa4b824
...@@ -110,8 +110,8 @@ _get_root() { ...@@ -110,8 +110,8 @@ _get_root() {
if _porkbun_rest POST "dns/retrieve/$h"; then if _porkbun_rest POST "dns/retrieve/$h"; then
if _contains "$response" "\"status\":\"SUCCESS\""; then if _contains "$response" "\"status\":\"SUCCESS\""; then
_sub_domain="$(echo "$fulldomain" | sed "s/\\.$_domain\$//")"
_domain=$h _domain=$h
_sub_domain="$(echo "$fulldomain" | sed "s/\\.$_domain\$//")"
return 0 return 0
else else
_debug "Go to next level of $_domain" _debug "Go to next level of $_domain"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment