diff --git a/CHANGELOG.md b/CHANGELOG.md index 2601182..3b453ed 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,8 +6,8 @@ - Fix sitemaps namespace - Update livereload - Add `hard_link_static` config option to hard link things in the static directory instead of copying -- Draft pages are not longer rendered in `zola build` -- Add warning for old style internal links since they would still function +- Pages with draft=true are not longer rendered in `zola build` +- Add warning for old style internal links since they would still function silently - Add some counts to `zola check` ## 0.8.0 (2019-06-22) diff --git a/src/cmd/serve.rs b/src/cmd/serve.rs index 7b1627f..f49eca9 100644 --- a/src/cmd/serve.rs +++ b/src/cmd/serve.rs @@ -272,7 +272,7 @@ pub fn serve( println!("Press Ctrl+C to stop\n"); // Delete the output folder on ctrl+C ctrlc::set_handler(move || { - remove_dir_all(&output_path).expect("Failed to delete output directory"); + let _ =remove_dir_all(&output_path); ::std::process::exit(0); }) .expect("Error setting Ctrl-C handler");