Fix output to properly display.
This commit is contained in:
parent
ea2d5b61ab
commit
3a291f7ac7
1 changed files with 3 additions and 2 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Reference in a new issue