Change the exit code to 130 when Ctrl-Ced

This commit is contained in:
Kerollmops 2024-12-12 09:26:14 +01:00
parent 04a24a9239
commit 1fdfa3f208
No known key found for this signature in database
GPG Key ID: F250A4C4E3AE5F5F

View File

@ -131,7 +131,7 @@ async fn try_main() -> anyhow::Result<()> {
tokio::spawn(async move { tokio::spawn(async move {
tokio::signal::ctrl_c().await.unwrap(); tokio::signal::ctrl_c().await.unwrap();
std::process::exit(77); std::process::exit(130);
}); });
run_http(index_scheduler, auth_controller, opt, log_handle, Arc::new(analytics)).await?; run_http(index_scheduler, auth_controller, opt, log_handle, Arc::new(analytics)).await?;