env: add --list-signal-handling to output non default handling
commit6bf6d7f4613e1d16215972970574b1bf6df07494
authorPádraig Brady <P@draigBrady.com>
Mon, 4 Mar 2019 07:50:21 +0000 (3 23:50 -0800)
committerPádraig Brady <P@draigBrady.com>
Mon, 4 Mar 2019 08:37:42 +0000 (4 00:37 -0800)
tree007f70f7d211a7be58b467c8e0c97aaeeffc3f6d
parent95adadd9a420812ddd3f0fc6105f668922a97ae5
env: add --list-signal-handling to output non default handling

* src/env.c (main): Output blocked or ignored signals
before a command is executed.
* doc/coreutils.texi (env invocation): Add the option.
* tests/misc/env-signal-handler.sh: Add a test case.
* NEWS: Mention the new feature.
NEWS
doc/coreutils.texi
src/env.c
tests/misc/env-signal-handler.sh