X-Git-Url: http://www.git.stargrave.org/?a=blobdiff_plain;f=lib%2FPublicInbox%2FLeiXSearch.pm;h=b9f0d6924d4ca5c9617435e3d5081cc9c65db16e;hb=b6eb866869609afef72c77f41507905828014673;hp=1f83e582055c7ef06d40ffae5b632efbd484778b;hpb=796e7215a167f36d0b950631c3b1e44fa47fec07;p=public-inbox.git diff --git a/lib/PublicInbox/LeiXSearch.pm b/lib/PublicInbox/LeiXSearch.pm index 1f83e582..b9f0d692 100644 --- a/lib/PublicInbox/LeiXSearch.pm +++ b/lib/PublicInbox/LeiXSearch.pm @@ -398,9 +398,12 @@ Error closing $lei->{ovv}->{dst}: $! if ($lei->{-progress}) { my $tot = $lei->{-mset_total} // 0; my $nr = $lei->{-nr_write} // 0; - $lei->qerr($l2m ? - "# $nr written to $lei->{ovv}->{dst} ($tot matches)" : - "# $tot matches"); + if ($l2m) { + $lei->qfin("# $nr written to " . + "$lei->{ovv}->{dst} ($tot matches)"); + } else { + $lei->qerr("# $tot matches"); + } } $lei->start_mua if $start_mua; $lei->dclose;