mirror of
https://github.com/acmesh-official/acme.sh.git
synced 2026-01-13 19:52:12 +08:00
fixed validation, added LUA while I'm at it
This commit is contained in:
@@ -102,8 +102,11 @@ dns_me_rm() {
|
||||
_err "Can not get record id to remove."
|
||||
return 1
|
||||
fi
|
||||
_me_rest DELETE "$_domain_id/records/$record_id"
|
||||
_contains "$response" '"success":true'
|
||||
if ! _me_rest DELETE "$_domain_id/records/$record_id"; then
|
||||
_err "Delete record error."
|
||||
return 1
|
||||
fi
|
||||
_contains "$response" ''
|
||||
fi
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user