diff --git a/remove-spam-high-confidence-maildir.plx b/remove-spam-high-confidence-maildir.plx index d288ec1..e7bdd50 100755 --- a/remove-spam-high-confidence-maildir.plx +++ b/remove-spam-high-confidence-maildir.plx @@ -118,9 +118,10 @@ MAIL: while (my $file = readdir MAILDIR) { my $percent = ($countDeleted / $total) * 100.00; print sprintf("%.2f", $percent), "% ($countDeleted/$total) ", - (defined $COUNT_ONLY and $COUNT_ONLY ? + ((defined $COUNT_ONLY and $COUNT_ONLY) ? + " would be deleted.\n" : sprintf("were deleted.\nThis leaves %d in the folder.\n", - $total - $countDeleted) : " would be deleted.\n"); + $total - $countDeleted)); ############################################################################### # # Local variables: