diff options
author | Eric Wong <e@80x24.org> | 2021-10-13 02:48:59 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2021-10-13 04:13:40 +0000 |
commit | 47035fd4b54ceb0da2f71d28b99a962acac576f4 (patch) | |
tree | 4347b4bd0a379cfa44153de804056eb23eee7b04 /lib | |
parent | 0992534b287ec24bb17a2b2ca9e64a956036486d (diff) | |
download | public-inbox-47035fd4b54ceb0da2f71d28b99a962acac576f4.tar.gz |
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")
Diffstat (limited to 'lib')
-rw-r--r-- | lib/PublicInbox/Daemon.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/PublicInbox/Daemon.pm b/lib/PublicInbox/Daemon.pm index 5c64e84c..90b77412 100644 --- a/lib/PublicInbox/Daemon.pm +++ b/lib/PublicInbox/Daemon.pm @@ -643,7 +643,7 @@ sub run ($$$;$) { # localize GCF2C for tests: local $PublicInbox::GitAsyncCat::GCF2C; local $PublicInbox::Git::async_warn = 1; - local $SIG{__WARN__} = \&PublicInbox::Eml::warn_ignore_cb; + local $SIG{__WARN__} = PublicInbox::Eml::warn_ignore_cb(); daemon_loop($refresh, $post_accept, $tlsd, $af_default); PublicInbox::DS->Reset; |