mirror of https://github.com/mikaku/Monitorix.git
typo fixed
This commit is contained in:
parent
9fbedccb81
commit
bfe54d3b49
|
@ -53,7 +53,7 @@ sub kern_init {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if(scalar(@rra) != 12 + (4 * $config->{max_historic_years})) {
|
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");
|
rename($rrd, "$rrd.bak");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue