Skip to content

Commit 2a7b8a0

Browse files
deliver a non-zero exit code if anything is different (#1023)
Co-authored-by: raffaelladevita <[email protected]>
1 parent e3c9450 commit 2a7b8a0

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

common-tools/clas-io/src/main/java/org/jlab/utils/HipoDiff.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -134,5 +134,9 @@ public static void main(String args[]) {
134134
for (String name : badEntries.keySet()) {
135135
System.out.println(name + " " + badEntries.get(name));
136136
}
137+
138+
if (nbadevent + nbadrow + nbadentry > 0) {
139+
System.exit(7);
140+
}
137141
}
138142
}

0 commit comments

Comments
 (0)