Return error exit code if validation fails

This commit is contained in:
Gordon-F
2021-04-23 19:25:50 +03:00
committed by Dzmitry Malyshau
parent 3accf4dc15
commit b6996dbd32

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 == "-" {