Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
Acme.Sh
Commits
2da94e0f
Unverified
Commit
2da94e0f
authored
Jul 22, 2021
by
neil
Committed by
GitHub
Jul 22, 2021
Browse files
Merge pull request #3617 from Ivanovitchk/dev
dns_ovh: fix random add/remove txt records failures
parents
103810ce
63165764
Changes
1
Hide whitespace changes
Inline
Side-by-side
dnsapi/dns_ovh.sh
View file @
2da94e0f
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment