Fixing shellcheck issue

This commit is contained in:
asavin
2025-04-22 15:49:41 +02:00 Unverified
parent eabd7592fe
commit 9eeb979c7b
+1 -1
View File
@@ -26,7 +26,7 @@ dns_efficientip_add() {
_debug fulldomain "$fulldomain"
_debug txtvalue "$txtvalue"
if ([ -z "${EfficientIP_Creds}" ] && ([ -z "${EfficientIP_Token_Key}" ] || [ -z "${EfficientIP_Token_Secret}" ])) || [ -z "${EfficientIP_Server}" ]; then
if { [ -z "${EfficientIP_Creds}" ] && { [ -z "${EfficientIP_Token_Key}" ] || [ -z "${EfficientIP_Token_Secret}" ]; }; } || [ -z "${EfficientIP_Server}" ]; then
EfficientIP_Creds=""
EfficientIP_Token_Key=""
EfficientIP_Token_Secret=""