return negative exit code on directory vaidation

This commit is contained in:
jstaerk
2023-02-06 15:56:40 +01:00
parent a80a02ac49
commit df8940b42e
2 changed files with 3 additions and 0 deletions

View File

@@ -468,9 +468,11 @@ public class Main {
String totalResult="valid";
if (!zfWalk.getResult()) {
totalResult="invalid";
System.exit(-1);
}
System.out.println("Overall test result: "+totalResult);
return true;
}