X-Git-Url: http://gitweb.michael.orlitzky.com/?a=blobdiff_plain;f=amavis-logwatch;h=06b60c8d937846cdfcc39889a17aaf16a9559946;hb=15bf4096ea496a28210e2f4c1f34ab28b413566a;hp=89724973fde54016a9ca601c419c24b51b705cc2;hpb=79f37650aa72fe3feeed682ee2b79686ee2b6547;p=amavis-logwatch.git diff --git a/amavis-logwatch b/amavis-logwatch index 8972497..06b60c8 100644 --- a/amavis-logwatch +++ b/amavis-logwatch @@ -1334,8 +1334,17 @@ sub print_summary_report (\@) { $$divisor == $Totals{$keyname} ? 100.00 : $Totals{$keyname} * 100 / $$divisor; } else { - push @{$lines[$cur_level]}, - sprintf "$fmt %-23s $extra\n", $total, $desc, commify ($Totals{$keyname}); + my $new_line; + if ($extra eq '') { + $new_line = sprintf("$fmt %-23s \n", $total, $desc); + } + else { + $new_line = sprintf("$fmt %-23s $extra\n", + $total, + $desc, + commify ($Totals{$keyname})); + } + push @{$lines[$cur_level]}, $new_line } } } @@ -2035,6 +2044,8 @@ sub create_ignore_list() { # unanchored push @ignore_list_final, qr/\bRUSAGE\b/; push @ignore_list_final, qr/: Sending .* to UNIX socket/; + + push @ignore_list_final, qr/sd_notify \(no socket\): STATUS=Starting child process\(es\), ready for work./ } # Notes: