Fixed infinite loop checking ApacheHttpErrorLogFiles.
This commit is contained in:
parent
6455fc7e90
commit
9caa833856
1 changed files with 3 additions and 1 deletions
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (C) 2020-2023 Christian Pierre MOMON <christian@momon.org>
|
||||
* Copyright (C) 2020-2024 Christian Pierre MOMON <christian@momon.org>
|
||||
*
|
||||
* This file is part of StatoolInfos, simple service statistics tool.
|
||||
*
|
||||
|
@ -152,6 +152,7 @@ public class FilesUtils
|
|||
try
|
||||
{
|
||||
iterator = new FilesLineIterator(files);
|
||||
iterator.setPrintOff();
|
||||
|
||||
boolean ended = false;
|
||||
while (!ended)
|
||||
|
@ -168,6 +169,7 @@ public class FilesUtils
|
|||
else
|
||||
{
|
||||
result = null;
|
||||
ended = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue