Suppress new warnings from shellcheck v0.11.0 (#4207)

Shellcheck v0.11.0 added new warnings which raise false positive on the trap
function in the OTA hook script. Suppress also that warning.
This commit is contained in:
Jan Čermák 2025-08-04 11:14:15 +02:00 committed by GitHub
parent 32033293b6
commit 0d84f0d861
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -2,7 +2,7 @@
set -o errexit
# shellcheck disable=SC2317 # Being usesd in trap which shellcheck can't follow
# shellcheck disable=SC2317,SC2329 # Being usesd in trap which shellcheck can't follow
cleanup_boot() {
umount "${BOOT_NEW}"
rm -rf "${BOOT_TMP}" "${BOOT_NEW}"