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
This commit is contained in:
Bob Belnap 2022-05-31 11:41:22 -04:00
parent f897ab4eb8
commit 444a0282d7

View File

@ -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