On 4/29/22 12:58 PM, Emanuele Torre wrote:
Bash Version: 5.1
Patch Level: 16
Release Status: release
Description:
Bash does not run `EXIT' traps if the last command is the kill
builtin kills that kills the shell.
Thanks for the report. This only affects -c command execution with the
fatal signal received during or after the last command. We need to check
for terminating signals before starting the shell exit process.
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU c...@case.edu http://tiswww.cwru.edu/~chet/