]> Sergey Matveev's repositories - public-inbox.git/commit
daemon: set $SIG{__WARN__} properly
authorEric Wong <e@80x24.org>
Wed, 13 Oct 2021 02:48:59 +0000 (02:48 +0000)
committerEric Wong <e@80x24.org>
Wed, 13 Oct 2021 04:13:40 +0000 (04:13 +0000)
commit47035fd4b54ceb0da2f71d28b99a962acac576f4
tree4347b4bd0a379cfa44153de804056eb23eee7b04
parent0992534b287ec24bb17a2b2ca9e64a956036486d
daemon: set $SIG{__WARN__} properly

Eml->warn_ignore_cb itself returns a callback, so creating a
reference to it was wrong when assigning it to $SIG{__WARN__};

Fixes: 176cd51f9aa81b74 ("daemon: quiet down Eml-related warnings")
lib/PublicInbox/Daemon.pm