mirror of
https://github.com/Jeffrey-Sardina/liberated-systemd.git
synced 2026-10-19 01:29:53 -05:00
test: silence SC2329 for trap-invoked cleanup() in TEST-17-UDEV.sanity-check
cleanup() is only called via 'trap cleanup EXIT', which newer shellcheck versions report as SC2329 rather than SC2317. Disable both, like the other test scripts do.
This commit is contained in:
1 parent
b43136ffcd
commit
e42ad4c3b6
1 file changed
+1
-1
@@ -8,7 +8,7 @@ set -o pipefail
|
||||
|
||||
# Coverage test for udevadm
|
||||
|
||||
# shellcheck disable=SC2317
|
||||
# shellcheck disable=SC2317,SC2329
|
||||
cleanup() {
|
||||
set +e
|
||||
|
||||
|
||||
Reference in new issue
Block a user