diseq
6 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
5 additions and
5 deletions
-
dnsapi/dns_one.sh
|
@ -135,11 +135,11 @@ dns_one_rm() { |
|
|
_debug response "$response" |
|
|
_debug response "$response" |
|
|
|
|
|
|
|
|
if [ "$response" = '{"result":null,"metadata":null}' ]; then |
|
|
if [ "$response" = '{"result":null,"metadata":null}' ]; then |
|
|
_info "Removed, OK" |
|
|
|
|
|
return 0 |
|
|
|
|
|
else |
|
|
|
|
|
_err "Removing txt record error." |
|
|
|
|
|
return 1 |
|
|
|
|
|
|
|
|
_info "Removed, OK" |
|
|
|
|
|
return 0 |
|
|
|
|
|
else |
|
|
|
|
|
_err "Removing txt record error." |
|
|
|
|
|
return 1 |
|
|
fi |
|
|
fi |
|
|
|
|
|
|
|
|
} |
|
|
} |