From 37bb717aa125f7af12bc164195e81abb251eea87 Mon Sep 17 00:00:00 2001 From: neilpang Date: Fri, 15 Feb 2019 23:05:42 +0800 Subject: [PATCH] minor, fix api not found --- acme.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/acme.sh b/acme.sh index 25f7fa2e..364b7db2 100755 --- a/acme.sh +++ b/acme.sh @@ -2938,6 +2938,9 @@ _clearupdns() { _debug "aliasDomain" "$aliasDomain" _debug "txt" "$txt" _debug "d_api" "$d_api" + if [ "$d_api" = "$txt" ]; then + d_api="" + fi if [ -z "$d_api" ]; then _info "Not Found domain api file: $d_api"