forked from ungleich-public/cdist
[type/__uci_section] Ignore SC2015 error (notabug)
This commit is contained in:
parent
4da3968118
commit
179815b5e9
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue