]> Sergey Matveev's repositories - public-inbox.git/commitdiff
lei inspect: fix atfork hook
authorEric Wong <e@80x24.org>
Tue, 26 Oct 2021 10:35:53 +0000 (10:35 +0000)
committerEric Wong <e@80x24.org>
Tue, 26 Oct 2021 17:43:55 +0000 (17:43 +0000)
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")
lib/PublicInbox/LeiInspect.pm

index 5ea32ccb7e661aafdffcc7c4e8a7c2d2ee259a54..d7775d4b616203dd682984422352be6f11688906 100644 (file)
@@ -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;