1
0
mirror of https://github.com/home-assistant/operating-system.git synced 2025-12-19 18:08:29 +00:00

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

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}"