mirror of
https://github.com/koalaman/shellcheck.git
synced 2025-10-03 19:29:44 +08:00
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). :-)
@@ -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
|
||||
```
|
||||
|
||||
|
Reference in New Issue
Block a user