From 6778572f04c54c262a8d7ac0bee129c7ba649ca6 Mon Sep 17 00:00:00 2001 From: sjau Date: Tue, 22 Nov 2016 08:37:08 +0100 Subject: [PATCH] Remove || return 1 from the two public functions --- dnsapi/dns_ispconfig.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dnsapi/dns_ispconfig.sh b/dnsapi/dns_ispconfig.sh index f38bfd5e..613631ca 100755 --- a/dnsapi/dns_ispconfig.sh +++ b/dnsapi/dns_ispconfig.sh @@ -18,14 +18,14 @@ dns_ispconfig_add() { HTTPS_INSECURE=1 fulldomain="${1}" 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 dns_ispconfig_rm() { HTTPS_INSECURE=1 fulldomain="${1}" - _ISPC_login && _ISPC_rmTxt || return 1 + _ISPC_login && _ISPC_rmTxt } #################### Private functions bellow ##################################