about summary refs log tree commit homepage
path: root/lib/PublicInbox/LeiP2q.pm
diff options
context:
space:
mode:
Diffstat (limited to 'lib/PublicInbox/LeiP2q.pm')
-rw-r--r--lib/PublicInbox/LeiP2q.pm4
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/PublicInbox/LeiP2q.pm b/lib/PublicInbox/LeiP2q.pm
index 07357e32..deb31974 100644
--- a/lib/PublicInbox/LeiP2q.pm
+++ b/lib/PublicInbox/LeiP2q.pm
@@ -197,9 +197,7 @@ sub lei_p2q { # the "lei patch-to-query" entry point
 
 sub ipc_atfork_child {
         my ($self) = @_;
-        my $lei = $self->{lei};
-        $lei->_lei_atfork_child;
-        $SIG{__WARN__} = PublicInbox::Eml::warn_ignore_cb();
+        $self->{lei}->_lei_atfork_child;
         $self->SUPER::ipc_atfork_child;
 }