mirror of
https://github.com/home-assistant/operating-system.git
synced 2025-08-04 10:47:41 +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:
parent
32033293b6
commit
0d84f0d861
@ -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}"
|
||||
|
Loading…
x
Reference in New Issue
Block a user