Merge pull request #2233 from Neilpang/dev

fix https://github.com/Neilpang/acme.sh/issues/2195
This commit is contained in:
neil authored and GitHub committed 2019-04-26 23:59:32 +08:00
commit 4dcd1f3e65
1 file changed
+1 -1
+1 -1
View File
@@ -58,7 +58,7 @@ dns_cf_add() {
# if [ "$count" = "0" ]; then
_info "Adding record"
if _cf_rest POST "zones/$_domain_id/dns_records" "{\"type\":\"TXT\",\"name\":\"$fulldomain\",\"content\":\"$txtvalue\",\"ttl\":120}"; then
if _contains "$response" "$fulldomain"; then
if _contains "$response" "$txtvalue"; then
_info "Added, OK"
return 0
elif _contains "$response" "The record already exists"; then
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.