On 8/8/19 2:11 PM, Logan Gunthorpe wrote:
The main code traps EXIT which calls the cleanup handler that this trap
then overrides SIGINT with, so I'm not really sure how they interact.

Hi Logan,

You may want to know that there is already code in the blktests project that modifies a trap handler from inside a trap handler:

        trap 'trap "" EXIT; teardown' EXIT

Bart.

Reply via email to