New Features in Bash
...
m. If a non-interactive shell with job control enabled detects that a foreground
job died due to SIGINT, it acts as if it received the SIGINT.
It might mean that my recent fix for killing background jobs work only in bash v5.0, which I tested it on.
I found in bash v5.0 release notes the following:
It might mean that my recent fix for killing background jobs work only in bash v5.0, which I tested it on.