Remove || return 1 from the two public functions

This commit is contained in:
sjau 2016-11-22 08:37:08 +01:00
parent baee5e6466
commit 061aa17f7b

View File

@ -18,14 +18,14 @@ dns_ispconfig_add() {
HTTPS_INSECURE=1 HTTPS_INSECURE=1
fulldomain="${1}" fulldomain="${1}"
txtvalue="${2}" txtvalue="${2}"
_ISPC_credentials && _ISPC_login && _ISPC_getZoneInfo && _ISPC_addTxt || return 1 _ISPC_credentials && _ISPC_login && _ISPC_getZoneInfo && _ISPC_addTxt
} }
#Usage: dns_myapi_rm _acme-challenge.www.domain.com #Usage: dns_myapi_rm _acme-challenge.www.domain.com
dns_ispconfig_rm() { dns_ispconfig_rm() {
HTTPS_INSECURE=1 HTTPS_INSECURE=1
fulldomain="${1}" fulldomain="${1}"
_ISPC_login && _ISPC_rmTxt || return 1 _ISPC_login && _ISPC_rmTxt
} }
#################### Private functions bellow ################################## #################### Private functions bellow ##################################