minor, fix api not found

This commit is contained in:
neilpang 2019-02-15 23:05:42 +08:00
parent 20c2624e7d
commit 2c5c3d2b80

View File

@ -2943,6 +2943,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"