From e6870012ed0028ec8a7bd52d0fb82c1981b053b4 Mon Sep 17 00:00:00 2001 From: Rohan Barar Date: Wed, 10 Sep 2025 22:00:45 +1000 Subject: [PATCH] silence false-positive shellcheck SC2329 Signed-off-by: Rohan Barar --- setup.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.sh b/setup.sh index 08c95fe..d2fd139 100755 --- a/setup.sh +++ b/setup.sh @@ -116,7 +116,7 @@ trap "waTerminateScript" ERR # Catch non-zero return values. ### FUNCTIONS ### # Name: 'waTerminateScript' # Role: Terminates the script when a non-zero return value is encountered. -# shellcheck disable=SC2317 # Silence warning regarding this function being unreachable. +# shellcheck disable=SC2329 # Silence warning regarding this function never being invoked (shellCheck is currently bad at figuring out functions that are invoked via trap). function waTerminateScript() { # Store the non-zero exit status received by the trap. local EXIT_STATUS=$?