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:
Zhaofeng Li 2022-07-17 14:42:34 -07:00
parent 16381e9213
commit 7d0a6eed90

View file

@ -10,6 +10,7 @@ mod troubleshooter;
mod util;
#[tokio::main]
#[quit::main]
async fn main() {
cli::run().await;
}