mirror of
https://github.com/plantroon/acme.sh.git
synced 2024-12-26 23:11:44 +00:00
dns_ovh: fix random add/remove txt records failures
due to inconsistent curl api response json
This commit is contained in:
parent
103810ce20
commit
63165764dc
@ -261,7 +261,9 @@ _get_root() {
|
|||||||
return 1
|
return 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if ! _contains "$response" "This service does not exist" >/dev/null && ! _contains "$response" "NOT_GRANTED_CALL" >/dev/null; then
|
if ! _contains "$response" "This service does not exist" >/dev/null && \
|
||||||
|
! _contains "$response" "This call has not been granted" >/dev/null && \
|
||||||
|
! _contains "$response" "NOT_GRANTED_CALL" >/dev/null; then
|
||||||
_sub_domain=$(printf "%s" "$domain" | cut -d . -f 1-$p)
|
_sub_domain=$(printf "%s" "$domain" | cut -d . -f 1-$p)
|
||||||
_domain="$h"
|
_domain="$h"
|
||||||
return 0
|
return 0
|
||||||
|
Loading…
Reference in New Issue
Block a user