Browse Source
Merge pull request #4116 from rbelnap/dns_namecheap_error_fix
Dns namecheap error fix
pull/4124/head
neil
3 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
2 additions and
2 deletions
-
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 |
|
|
|
|
|
|
|
|