trap -p not displaying ignored signal when run from child bash command line
Issue
- trap -p not displaying ignored signal when run from child bash command line
- To reproduce the behaviour, run the following commands:
$ trap '' SIGINT
$ exec bash
$ trap -p
- The above should show SIGINT as an ignored signal, but it does not. The signal is however ignored.
Environment
- Red Hat Enterprise Linux 5
- bash
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.