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 of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
