Merge pull request #4116 from rbelnap/dns_namecheap_error_fix

Dns namecheap error fix
This commit is contained in:
neil 2022-06-01 09:10:52 +08:00 committed by GitHub
commit 66b2d496af
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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