]> Sergey Matveev's repositories - public-inbox.git/commit
spawn_pp: die more consistently in child
authorEric Wong <e@80x24.org>
Sun, 7 Feb 2021 08:51:46 +0000 (08:51 +0000)
committerEric Wong <e@80x24.org>
Sun, 7 Feb 2021 22:56:56 +0000 (22:56 +0000)
commitff36e076103eef2713895fcb4b401f129ae4b6de
tree72b935ebcd674c5fc6d3fb7c4443749e68c1031e
parent3894c29d99646fcd315ca6794b65e32547fcbae2
spawn_pp: die more consistently in child

The default $SIG{__DIE__} inside a forked child doesn't actually
do what we want it to do.  We don't want it to zip up the stack
the parent used, but instead want to exit the child process
after warning.
lib/PublicInbox/SpawnPP.pm