Browse Source

Resolve travis spellcheck errors (hopefully)

pull/557/head
David Kerr 8 years ago
parent
commit
a3e3d3dda9
  1. 4
      dnsapi/dns_freedns.sh

4
dnsapi/dns_freedns.sh

@ -26,6 +26,8 @@ dns_freedns_add() {
_debug "txtvalue: $txtvalue" _debug "txtvalue: $txtvalue"
if [ -z "$FREEDNS_User" ] || [ -z "$FREEDNS_Password" ]; then if [ -z "$FREEDNS_User" ] || [ -z "$FREEDNS_Password" ]; then
FREEDNS_User=""
FREEDNS_Password=""
if [ -z "$FREEDNS_COOKIE" ]; then if [ -z "$FREEDNS_COOKIE" ]; then
_err "You did not specify the FreeDNS username and password yet." _err "You did not specify the FreeDNS username and password yet."
_err "Please export as FREEDNS_User / FREEDNS_Password and try again." _err "Please export as FREEDNS_User / FREEDNS_Password and try again."
@ -324,7 +326,6 @@ _freedns_add_txt_record() {
export _H1="Cookie:$1" export _H1="Cookie:$1"
domain_id="$2" domain_id="$2"
subdomain="$3" subdomain="$3"
value="$(_url_encode "$4")" value="$(_url_encode "$4")"
url="http://freedns.afraid.org/subdomain/save.php?step=2" url="http://freedns.afraid.org/subdomain/save.php?step=2"
@ -367,3 +368,4 @@ _freedns_delete_txt_record() {
_info "Deleted acme challenge TXT record for $fulldomain at FreeDNS" _info "Deleted acme challenge TXT record for $fulldomain at FreeDNS"
return 0 return 0
} }
Loading…
Cancel
Save