[SIGAR-32] Fix FileTail on Windows
This commit is contained in:
1 parent
7ab5c14d77
commit
2dcff7e5c9
2 files changed
+7
-1
No files matched your search
@@ -95,7 +95,9 @@ public abstract class FileTail extends FileWatcher {
|
||||
throws SigarException,
|
||||
SigarFileNotFoundException {
|
||||
|
||||
return info.modified();
|
||||
return
|
||||
info.modified() ||
|
||||
(info.getPreviousInfo().size != info.size);
|
||||
}
|
||||
|
||||
private long getOffset(FileInfo current) {
|
||||
|
||||
Reference in new issue
Block a user