mirror of
https://github.com/plantroon/acme.sh.git
synced 2024-12-25 06:31:42 +00:00
Added ret value verification.
This commit is contained in:
parent
9aed1e2d17
commit
2e602ef6b0
@ -32,7 +32,9 @@ dns_namecom_add() {
|
|||||||
_saveaccountconf Namecom_Token "$Namecom_Token"
|
_saveaccountconf Namecom_Token "$Namecom_Token"
|
||||||
|
|
||||||
# Login in using API
|
# Login in using API
|
||||||
_namecom_login
|
if ! _namecom_login; then
|
||||||
|
return 1
|
||||||
|
fi
|
||||||
|
|
||||||
# Find domain in domain list.
|
# Find domain in domain list.
|
||||||
if ! _namecom_get_root "$fulldomain"; then
|
if ! _namecom_get_root "$fulldomain"; then
|
||||||
@ -63,7 +65,9 @@ dns_namecom_rm() {
|
|||||||
fulldomain=$1
|
fulldomain=$1
|
||||||
txtvalue=$2
|
txtvalue=$2
|
||||||
|
|
||||||
_namecom_login
|
if ! _namecom_login; then
|
||||||
|
return 1
|
||||||
|
fi
|
||||||
|
|
||||||
# Find domain in domain list.
|
# Find domain in domain list.
|
||||||
if ! _namecom_get_root "$fulldomain"; then
|
if ! _namecom_get_root "$fulldomain"; then
|
||||||
|
Loading…
Reference in New Issue
Block a user