We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d0049b2 commit 02d3564Copy full SHA for 02d3564
rust/krb5-provision-keytab/src/main.rs
@@ -193,9 +193,5 @@ async fn main() {
193
let res = run().await.map_err(|err| Report::from(err).to_string());
194
println!("{}", serde_json::to_string_pretty(&res).unwrap());
195
196
- if res.is_ok() {
197
- std::process::exit(0);
198
- } else {
199
- std::process::exit(1);
200
- }
+ std::process::exit(if res.is_ok() { 0 } else { 1 });
201
}
0 commit comments