1
0
mirror of https://github.com/hiskaNG/acme.sh.git synced 2026-08-22 05:43:01 +00:00

fixed validation, added LUA while I'm at it

This commit is contained in:
nytral
2017-03-01 19:38:02 +01:00
parent a1e1bfc71b
commit 8d53ec5353
2 changed files with 35 additions and 3 deletions
+5 -2
View File
@@ -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
}