Browse Source

rename _error _err

When there are errors with namecheap hosts, acme.sh fails with:

dns_namecheap.sh: line 262: _error: command not found

Based on usage elsewhere in the file, I believe this should be _err
pull/4116/head
Bob Belnap 3 years ago
parent
commit
444a0282d7
  1. 4
      dnsapi/dns_namecheap.sh

4
dnsapi/dns_namecheap.sh

@ -259,7 +259,7 @@ _set_namecheap_TXT() {
_debug hosts "$hosts" _debug hosts "$hosts"
if [ -z "$hosts" ]; then if [ -z "$hosts" ]; then
_error "Hosts not found"
_err "Hosts not found"
return 1 return 1
fi fi
@ -313,7 +313,7 @@ _del_namecheap_TXT() {
_debug hosts "$hosts" _debug hosts "$hosts"
if [ -z "$hosts" ]; then if [ -z "$hosts" ]; then
_error "Hosts not found"
_err "Hosts not found"
return 1 return 1
fi fi

Loading…
Cancel
Save