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
|
exit 0
|
||||||
fi
|
fi
|
||||||
|
|
||||||
test -s "${__object:?}/parameter/match" \
|
# shellcheck disable=SC2015
|
||||||
&& test -s "${__object:?}/parameter/type" \
|
test -s "${__object:?}/parameter/match" && test -s "${__object:?}/parameter/type" \
|
||||||
|| {
|
|| {
|
||||||
echo 'Parameters --match and --type must be used together.' >&2
|
echo 'Parameters --match and --type must be used together.' >&2
|
||||||
exit 1
|
exit 1
|
||||||
|
|
Loading…
Reference in a new issue