Return error exit code if validation fails

This commit is contained in:
Gordon-F authored and Dzmitry Malyshau committed 2021-04-23 16:36:49 -04:00
1 parent 3accf4dc15
commit b6996dbd32
1 file changed
+3 -1
+3 -1
View File
@@ -188,8 +188,10 @@ fn main() {
None => {
if info.is_some() {
println!("Validation successful");
return;
} else {
std::process::exit(!0);
}
return;
}
};
if output_path == "-" {