2
0
mirror of https://github.com/acmesh-official/acme.sh synced 2025-08-30 22:05:34 +00:00

Merge pull request #3617 from Ivanovitchk/dev

dns_ovh: fix random add/remove txt records failures
This commit is contained in:
neil
2021-07-22 14:00:29 +08:00
committed by GitHub

View File

@@ -261,7 +261,9 @@ _get_root() {
return 1
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)
_domain="$h"
return 0