mirror of
https://github.com/acmesh-official/acme.sh.git
synced 2025-05-14 17:04:12 +00:00
fix shellcheck
This commit is contained in:
parent
834dacf115
commit
64c1efd819
@ -43,7 +43,7 @@ dns_vultr_add() {
|
|||||||
return 1
|
return 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
_debug2 _response "$_response"
|
_debug2 _response "$response"
|
||||||
return 0
|
return 0
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -92,7 +92,7 @@ dns_vultr_rm() {
|
|||||||
return 1
|
return 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
_debug2 _response "$_response"
|
_debug2 _response "$response"
|
||||||
return 0
|
return 0
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -120,6 +120,7 @@ _get_root() {
|
|||||||
if printf "%s\n" "$response" | grep '^\[.*\]' >/dev/null; then
|
if printf "%s\n" "$response" | grep '^\[.*\]' >/dev/null; then
|
||||||
if _contains "$response" "\"domain\":\"$_domain\""; then
|
if _contains "$response" "\"domain\":\"$_domain\""; then
|
||||||
_sub_domain="$(echo "$fulldomain" | sed "s/\\.$_domain\$//")"
|
_sub_domain="$(echo "$fulldomain" | sed "s/\\.$_domain\$//")"
|
||||||
|
_domain=$_domain
|
||||||
return 0
|
return 0
|
||||||
else
|
else
|
||||||
_err 'Invalid domain'
|
_err 'Invalid domain'
|
||||||
|
Loading…
x
Reference in New Issue
Block a user