Fix error message typo (#11363)
This commit is contained in:
parent
9d8e6ee4c9
commit
23a23e7a18
@ -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 {
|
||||||
|
Loading…
Reference in New Issue
Block a user