mirror of
https://github.com/nsacyber/HIRS.git
synced 2025-01-13 16:29:45 +00:00
Exit with an error code if validate fails
This commit is contained in:
parent
2a88b22ae1
commit
111da813a1
@ -57,6 +57,7 @@ public class Main {
|
|||||||
System.out.println("Successfully verified " + verifyFile);
|
System.out.println("Successfully verified " + verifyFile);
|
||||||
} else {
|
} else {
|
||||||
System.out.println("Failed to verify " + verifyFile);
|
System.out.println("Failed to verify " + verifyFile);
|
||||||
|
System.exit(1);
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
System.out.println("Need a RIM file to validate!");
|
System.out.println("Need a RIM file to validate!");
|
||||||
|
Loading…
Reference in New Issue
Block a user