From: Eric Wong Date: Tue, 26 Oct 2021 10:35:53 +0000 (+0000) Subject: lei inspect: fix atfork hook X-Git-Tag: v1.7.0~49 X-Git-Url: http://www.git.stargrave.org/?p=public-inbox.git;a=commitdiff_plain;h=b204d687ba262c2374fbf0f972bb1f3a824b2c00 lei inspect: fix atfork hook The misnamed sub wasn't firing, but was unlikely to be noticeable given the short lifetime of the process. Fixes: 1f887bd51d92b0d4 ("lei inspect: add atfork hook") --- diff --git a/lib/PublicInbox/LeiInspect.pm b/lib/PublicInbox/LeiInspect.pm index 5ea32ccb..d7775d4b 100644 --- a/lib/PublicInbox/LeiInspect.pm +++ b/lib/PublicInbox/LeiInspect.pm @@ -294,7 +294,7 @@ sub _complete_inspect { # TODO: message-ids?, blobs? could get expensive... } -sub input_only_atfork_child { +sub ipc_atfork_child { my ($self) = @_; $self->{lei}->_lei_atfork_child; $self->SUPER::ipc_atfork_child;