LukasWRN
7 months ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
2 additions and
1 deletions
-
dnsapi/dns_wts.sh
|
|
|
@ -88,12 +88,13 @@ dns_wts_rm() { |
|
|
|
_info "TXT record has been successfully deleted." |
|
|
|
return 0 |
|
|
|
else |
|
|
|
if $WTS_API_Token == 0: |
|
|
|
if [ -z "$TMP_RecordID" ]; then |
|
|
|
_err "Errors happened during deleting the TXT record, because the temporary record-id from creation is not set." |
|
|
|
return 1 |
|
|
|
else: |
|
|
|
_err "Errors happened during deleting the TXT record, response=$_response" |
|
|
|
return 1 |
|
|
|
fi |
|
|
|
fi |
|
|
|
|
|
|
|
} |
|
|
|
|