Commit 598382f2 authored by Kartikaya Gupta's avatar Kartikaya Gupta Committed by Ryan Hunt
Browse files

Exit with an error code on failure

parent de203a30
......@@ -147,7 +147,7 @@ fn main() {
Err(msg) => {
error!("{}", msg);
error!("Couldn't generate bindings for {}.", input.display());
return;
std::process::exit(1);
}
};
......@@ -157,7 +157,7 @@ fn main() {
Err(msg) => {
error!("{}", msg);
error!("Couldn't generate bindings for {}.", input.display());
return;
std::process::exit(1);
},
};
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment