src/cli/command.rs: set exit status on error
This commit is contained in:
parent
129dda4729
commit
0f73ee73bb
|
@ -212,6 +212,7 @@ fn handle_simple_command(
|
|||
}
|
||||
Err(err) => {
|
||||
eprintln!("Error: {}", err);
|
||||
std::process::exit(-1);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue