checkDataIntegrity
git-svn-id: svn://home0/checkDataIntegrity@3054 71dcc7fd-b1f2-4e5d-bb8e-274146e81173
This commit is contained in:
@@ -33,7 +33,7 @@ public class Main {
|
||||
.filter(Files::isRegularFile)
|
||||
.forEach(p0 -> {
|
||||
long cnt = count.incrementAndGet();
|
||||
if (cnt % 1000 == 0) {
|
||||
if (cnt % 10000 == 0) {
|
||||
System.out.println(cnt);
|
||||
}
|
||||
|
||||
@@ -76,6 +76,8 @@ public class Main {
|
||||
System.out.println("Took " + (System.currentTimeMillis() - start) + "ms");
|
||||
System.out.println(count.get() + " files");
|
||||
System.out.println(countErr.get() + " errors");
|
||||
|
||||
System.exit(countErr.get() > 0 ? 1 : 0);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user