"# 0 written to $FOLDER" messages aren't important to the
user, so we can show them in real time and allow them to
be lost in the terminal scroll. When >0 messages are
written to a folder, we'll show them last so a user
will know which folders to open with their MUA.
my $tot = $lei->{-mset_total} // 0;
my $nr = $lei->{-nr_write} // 0;
if ($l2m) {
- $lei->qfin("# $nr written to " .
- "$lei->{ovv}->{dst} ($tot matches)");
+ my $m = "# $nr written to " .
+ "$lei->{ovv}->{dst} ($tot matches)";
+ $nr ? $lei->qfin($m) : $lei->qerr($m);
} else {
$lei->qerr("# $tot matches");
}