On Nov 21 2020, Chet Ramey wrote: > This is a potential race condition, but it's not with the shell.
The race with the trap command in the function is obvious, but that should not result in the signal to be ignored. There should always be a trap active, either the main one or the one in the function, and neither ignores the signal. Andreas. -- Andreas Schwab, sch...@linux-m68k.org GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510 2552 DF73 E780 A9DA AEC1 "And now for something completely different."