diff --git a/src/bin/mdbook.rs b/src/bin/mdbook.rs index 0b61b799..a77ac680 100644 --- a/src/bin/mdbook.rs +++ b/src/bin/mdbook.rs @@ -83,6 +83,7 @@ fn main() { if let Err(e) = res { writeln!(&mut io::stderr(), "An error occured:\n{}", e).ok(); + ::std::process::exit(101); } }