Browse Source

Update dns_wts.sh

pull/6376/head
LukasWRN 6 months ago
committed by GitHub
parent
commit
e016f5d037
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 4
      dnsapi/dns_wts.sh

4
dnsapi/dns_wts.sh

@ -55,7 +55,7 @@ dns_wts_add() {
# mkdir -p /tmp/acme-wts
# echo "$TMP_RecordID" > "$TMP_RECORD_FILE"
clean_domain="${fulldomain//\*/_wildcard_}"
_saveaccountconf_mutable "_WTS_RecordID_$clean_domain" "$TMP_RecordID"
_saveaccountconf_mutable "_WTS_RecordID" "$TMP_RecordID"
_info "Saved TMP_RecordID=$TMP_RecordID"
@ -109,7 +109,7 @@ dns_wts_rm() {
# fi
clean_domain="${fulldomain//\*/_wildcard_}"
TMP_RecordID="$(_readaccountconf_mutable "_WTS_RecordID_$clean_domain")"
TMP_RecordID="$(_readaccountconf_mutable "_WTS_RecordID")"
if [ -z "$TMP_RecordID" ]; then
_err "TMP_RecordID not found. Cannot delete record."

Loading…
Cancel
Save