diff --git a/lib/kern.pm b/lib/kern.pm index 781d926..0336f19 100644 --- a/lib/kern.pm +++ b/lib/kern.pm @@ -53,7 +53,7 @@ sub kern_init { } } if(scalar(@rra) != 12 + (4 * $config->{max_historic_years})) { - logger("$myself: Detected size mismatch between 'max_historic_years' (" . $config->{max_historic_years} . ") and $rrd (" . ((scalar(@rra) -12) / 4) . "). Resizing it accordingly. All historic data will be lost. Backup file created."); + logger("$myself: Detected size mismatch between 'max_historic_years' (" . $config->{max_historic_years} . ") and $rrd (" . ((scalar(@rra) -12) / 4) . "). Resizing it accordingly. All historical data will be lost. Backup file created."); rename($rrd, "$rrd.bak"); } }