Browse Source

replace _read_conf() with _readaccountconf()

David Kerr 6 years ago
parent
commit
2cb0b00e3a
1 changed files with 1 additions and 2 deletions
  1. 1 2
      dnsapi/dns_freedns.sh

+ 1 - 2
dnsapi/dns_freedns.sh

@@ -92,8 +92,7 @@ dns_freedns_rm() {
 
   # Need to read cookie from conf file again in case new value set
   # during login to FreeDNS when TXT record was created.
-  # acme.sh does not have a _readaccountconf() function
-  FREEDNS_COOKIE="$(_read_conf "$ACCOUNT_CONF_PATH" "FREEDNS_COOKIE")"
+  FREEDNS_COOKIE="$(_readaccountconf "FREEDNS_COOKIE")"
   _debug "FreeDNS login cookies: $FREEDNS_COOKIE"
 
   TXTdataid="$(_freedns_data_id "$fulldomain" "TXT")"