From 5e4642ae2bd7a42644499c711e0a67d3c5694230 Mon Sep 17 00:00:00 2001 From: LuckyDams <43099755+LuckyDams@users.noreply.github.com> Date: Tue, 17 Jun 2025 16:50:34 +0200 Subject: [PATCH] SIGKILL cannot be trapped as per [SC2173](https://github.com/koalaman/shellcheck/wiki/SC2173). This is just to avoid showing bad example (which would generate another shellcheck warning). :-) --- SC2064.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SC2064.md b/SC2064.md index 4ad78a3..80046c6 100644 --- a/SC2064.md +++ b/SC2064.md @@ -6,7 +6,7 @@ trap "echo \"Finished on $(date)\"" EXIT trap "rm -fr '$testdir1' '$testdir2'" $TRAP_SIGNALS trap "rm $tmp" $TRAP_SIGNALS -trap "${remove_aar_temp}" SIGKILL SIGTERM SIGQUIT EXIT +trap "${remove_aar_temp}" SIGTERM SIGQUIT EXIT trap "$(shopt -p extglob)" RETURN ```