]> Sergey Matveev's repositories - public-inbox.git/commit
lei: restore old sigmask before daemon exit
authorEric Wong <e@80x24.org>
Sat, 25 Sep 2021 05:49:44 +0000 (05:49 +0000)
committerEric Wong <e@80x24.org>
Sat, 25 Sep 2021 08:53:44 +0000 (08:53 +0000)
commit50417b5469245feef84789f0bb540a3780dc14b4
treec828e75af8670cb26572cb0c7649db1fd6b550c0
parent9a32c4433b87eddc0f07e979faf64e0f8e025593
lei: restore old sigmask before daemon exit

If the event loop fails, we want blocking waitpid (wait4) calls
to be interruptible with SIGTERM via "kill $PID" rather than
SIGKILL.  Though a failing event loop is something we should
avoid...
lib/PublicInbox/LEI.pm