Fix error message typo (#11363)

This commit is contained in:
Max Johansen 2020-01-02 11:54:29 -07:00 committed by David
parent 9d8e6ee4c9
commit 23a23e7a18

View File

@ -285,7 +285,7 @@ fn main_direct(force_can_restart: bool) -> i32 {
let e = exit.clone(); let e = exit.clone();
let exiting = exiting.clone(); let exiting = exiting.clone();
move |panic_msg| { move |panic_msg| {
warn!("Panic occured, see stderr for details"); warn!("Panic occurred, see stderr for details");
eprintln!("{}", panic_msg); eprintln!("{}", panic_msg);
if !exiting.swap(true, Ordering::SeqCst) { if !exiting.swap(true, Ordering::SeqCst) {
*e.0.lock() = ExitStatus { *e.0.lock() = ExitStatus {