minor, fix api not found

This commit is contained in:
neilpang 2019-02-15 23:05:42 +08:00
parent 04f7f0ab3d
commit 37bb717aa1

View File

@ -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"