1
0
Fork 0
mirror of https://github.com/munin-monitoring/contrib.git synced 2025-07-21 18:41:03 +00:00

Whitespace cleanup

* remove trailing whitespace
* remove empty lines at the end of files
This commit is contained in:
Lars Kruse 2018-08-02 02:03:42 +02:00
parent ef851f0c34
commit 17f784270a
604 changed files with 2927 additions and 2945 deletions

View file

@ -61,15 +61,15 @@ do_stats($LINE_N);
sub do_stats {
my $start_at = shift;
my $start_at = shift;
my $fh;
my $stop_at = (stat $LOGFILE)[7];
$start_at = 0 if $stop_at < $start_at;
my %counts = ();
open $fh, $LOGFILE or die "$!: $LOGFILE";
seek $fh, $start_at, 0 if $start_at > 0;
my $where;
@ -82,7 +82,7 @@ sub do_stats {
}
}
close $fh;
save_state($stop_at);
foreach my $rc (sort {$a<=>$b} keys %REJECT_CODES) {
@ -108,7 +108,7 @@ graph_total Total
my $type;
foreach $k (sort {$a<=>$b} keys %REJECT_CODES) {
print
print
"r$k.label $REJECT_CODES{$k}
r$k.type ABSOLUTE
r$k.min 0