Apply quit::main to main function
This makes `quit::with_code` actually work with the correct exit code. Fixes #111.
This commit is contained in:
parent
16381e9213
commit
7d0a6eed90
1 changed files with 1 additions and 0 deletions
|
@ -10,6 +10,7 @@ mod troubleshooter;
|
|||
mod util;
|
||||
|
||||
#[tokio::main]
|
||||
#[quit::main]
|
||||
async fn main() {
|
||||
cli::run().await;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue