Mason
1 week ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
3 additions and
3 deletions
-
dnsapi/dns_cf.sh
|
|
@ -92,9 +92,9 @@ dns_cf_add() { |
|
|
if _contains "$response" "$txtvalue"; then |
|
|
if _contains "$response" "$txtvalue"; then |
|
|
_info "Added, OK" |
|
|
_info "Added, OK" |
|
|
return 0 |
|
|
return 0 |
|
|
elif _contains "$response" "The record already exists" \ |
|
|
|
|
|
|| _contains "$response" "An identical record already exists." \ |
|
|
|
|
|
|| _contains "$response" '"code":81058'; then |
|
|
|
|
|
|
|
|
elif _contains "$response" "The record already exists" || |
|
|
|
|
|
_contains "$response" "An identical record already exists." || |
|
|
|
|
|
_contains "$response" '"code":81058'; then |
|
|
_info "Already exists, OK" |
|
|
_info "Already exists, OK" |
|
|
return 0 |
|
|
return 0 |
|
|
else |
|
|
else |
|
|
|