Skip to content

Commit 9732a3b

Browse files
authored
Merge pull request #161 from integer32llc/exit-status
Exit with a nonzero status if we get an error
2 parents f3f9c93 + a459a36 commit 9732a3b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/bin/mdbook.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,7 @@ fn main() {
8383

8484
if let Err(e) = res {
8585
writeln!(&mut io::stderr(), "An error occured:\n{}", e).ok();
86+
::std::process::exit(101);
8687
}
8788
}
8889

0 commit comments

Comments
 (0)