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