about summary refs log tree commit homepage
path: root/lib
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2016-06-11 21:56:31 +0000
committerEric Wong <e@80x24.org>2016-06-11 21:57:53 +0000
commitb6e2d71cd342a55e942915a082ca3fd15812e48d (patch)
tree3833a59896c8cfbf980835a626ab565674383c0a /lib
parentf4ef1160ffd83d7cc1744c06392888f6af50faa7 (diff)
downloadpublic-inbox-b6e2d71cd342a55e942915a082ca3fd15812e48d.tar.gz
They're effectively noops anyways, and we don't want to be
holding a reference to the read end of the parent pipe.
Diffstat (limited to 'lib')
-rw-r--r--lib/PublicInbox/Daemon.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/PublicInbox/Daemon.pm b/lib/PublicInbox/Daemon.pm
index b64ec874..b76b9ffb 100644
--- a/lib/PublicInbox/Daemon.pm
+++ b/lib/PublicInbox/Daemon.pm
@@ -448,6 +448,7 @@ sub daemon_loop ($$) {
         $SIG{QUIT} = $SIG{INT} = $SIG{TERM} = *worker_quit;
         $SIG{USR1} = *reopen_logs;
         $SIG{HUP} = $refresh;
+        $SIG{$_} = 'DEFAULT' for qw(CHLD USR2 TTIN TTOU WINCH);
         # this calls epoll_create:
         @listeners = map {
                 PublicInbox::Listener->new($_, $post_accept)