From 179815b5e93bd51b6757d92d14470808c5bee746 Mon Sep 17 00:00:00 2001 From: Dennis Camera Date: Sun, 21 Jun 2020 18:22:54 +0200 Subject: [PATCH] [type/__uci_section] Ignore SC2015 error (notabug) --- cdist/conf/type/__uci_section/explorer/match | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cdist/conf/type/__uci_section/explorer/match b/cdist/conf/type/__uci_section/explorer/match index 9cf1ea3e..a3832bff 100644 --- a/cdist/conf/type/__uci_section/explorer/match +++ b/cdist/conf/type/__uci_section/explorer/match @@ -39,8 +39,8 @@ then exit 0 fi -test -s "${__object:?}/parameter/match" \ -&& test -s "${__object:?}/parameter/type" \ +# shellcheck disable=SC2015 +test -s "${__object:?}/parameter/match" && test -s "${__object:?}/parameter/type" \ || { echo 'Parameters --match and --type must be used together.' >&2 exit 1