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
4fa08fc7
Commit
4fa08fc7
authored
Apr 24, 2016
by
Indust
Committed by
neil
Apr 24, 2016
Browse files
fix record update error for cloudxns (#167)
thanks.
parent
5c570578
Changes
1
Hide whitespace changes
Inline
Side-by-side
dnsapi/dns_cx.sh
View file @
4fa08fc7
...
...
@@ -69,7 +69,7 @@ existing_records() {
return
1
fi
count
=
0
seg
=
$(
printf
"
$response
"
|
grep
-o
"{[^{]*host
\"
:
\"
$_sub_domain
[^}]*}"
)
seg
=
$(
printf
"
$response
"
|
grep
-o
"{[^{]*host
\"
:
\"
$_sub_domain
\"
[^}]*}"
)
_debug seg
"
$seg
"
if
[
-z
"
$seg
"
]
;
then
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