This commit is contained in:
neilpang 2018-02-15 10:51:13 +08:00
parent b51ed9bbb7
commit ce6c7d4b59

View File

@ -93,12 +93,7 @@ add_record() {
return 1 return 1
fi fi
if _contains "$response" "Action completed successful"; then _contains "$response" "Action completed successful" || _contains "$response" "Domain record already exists"
return 0
fi
return 1 #error
} }
#################### Private functions below ################################## #################### Private functions below ##################################