diff options
Diffstat (limited to 'lib/PublicInbox/LeiOverview.pm')
-rw-r--r-- | lib/PublicInbox/LeiOverview.pm | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/PublicInbox/LeiOverview.pm b/lib/PublicInbox/LeiOverview.pm index 8a1f4f82..194c5e28 100644 --- a/lib/PublicInbox/LeiOverview.pm +++ b/lib/PublicInbox/LeiOverview.pm @@ -108,8 +108,9 @@ sub _unbless_smsg { sub ovv_atexit_child { my ($self, $lei) = @_; - my $bref = delete $lei->{ovv_buf} or return; - print { $lei->{1} } $$bref; + if (my $bref = delete $lei->{ovv_buf}) { + print { $lei->{1} } $$bref; + } } # JSON module ->pretty output wastes too much vertical white space, |