Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ruanhaishen
Acme.Sh
Commits
7c41dd5e
Unverified
Commit
7c41dd5e
authored
Jan 28, 2019
by
neil
Committed by
GitHub
Jan 28, 2019
Browse files
Merge pull request #2064 from Neilpang/dev
fix
https://github.com/Neilpang/acme.sh/issues/1364#issuecomment-4580…
parents
9dac02ba
a9646468
Changes
1
Hide whitespace changes
Inline
Side-by-side
dnsapi/dns_dp.sh
View file @
7c41dd5e
...
...
@@ -63,7 +63,7 @@ dns_dp_rm() {
return
0
fi
record_id
=
$(
echo
"
$response
"
|
_egrep_o
'{[^{]*"value":"'
"
$txtvalue
"
'
"'
|
cut
-d
,
-f
1
|
cut
-d
:
-f
2
|
tr
-d
\"
)
record_id
=
$(
echo
"
$response
"
|
tr
"{"
"
\n
"
|
grep
"
$txtvalue
"
|
grep
'^"id
"'
|
cut
-d
:
-f
2
|
cut
-d
'"'
-f
2
)
_debug record_id
"
$record_id
"
if
[
-z
"
$record_id
"
]
;
then
_err
"Can not get record id."
...
...
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