From 0d84f0d861e7dc523c59e1faba9b36651f82fdc3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20=C4=8Cerm=C3=A1k?= Date: Mon, 4 Aug 2025 11:14:15 +0200 Subject: [PATCH] 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. --- buildroot-external/ota/rauc-hook | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/buildroot-external/ota/rauc-hook b/buildroot-external/ota/rauc-hook index fb21b1984..bd5844149 100755 --- a/buildroot-external/ota/rauc-hook +++ b/buildroot-external/ota/rauc-hook @@ -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}"