Added ret value verification.

This commit is contained in:
RaidenII committed 2017-07-02 04:45:07 -07:00
1 parent 9aed1e2d17
commit 2e602ef6b0
1 file changed
+6 -2
+6 -2
View File
@@ -32,7 +32,9 @@ dns_namecom_add() {
_saveaccountconf Namecom_Token "$Namecom_Token"
# Login in using API
_namecom_login
if ! _namecom_login; then
return 1
fi
# Find domain in domain list.
if ! _namecom_get_root "$fulldomain"; then
@@ -63,7 +65,9 @@ dns_namecom_rm() {
fulldomain=$1
txtvalue=$2
_namecom_login
if ! _namecom_login; then
return 1
fi
# Find domain in domain list.
if ! _namecom_get_root "$fulldomain"; then
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.