mirror of https://github.com/aredn/aredn.git
bugfix: rssi_monitor log file size trim calculation error
This commit is contained in:
parent
8cd8e07885
commit
79bf05f7d9
|
@ -293,7 +293,7 @@ undef $/;
|
|||
$^I = "";
|
||||
while (<>)
|
||||
{
|
||||
substr($_, 0, $MAXSIZE - length) = "";
|
||||
substr($_, 0, length() - $MAXSIZE) = "";
|
||||
s/.*\n//;
|
||||
print;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue