From 1fdfa3f20885abe5d6dcd95eda0f7e4b2678cdd1 Mon Sep 17 00:00:00 2001 From: Kerollmops Date: Thu, 12 Dec 2024 09:26:14 +0100 Subject: [PATCH] Change the exit code to 130 when Ctrl-Ced --- crates/meilisearch/src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/meilisearch/src/main.rs b/crates/meilisearch/src/main.rs index 6e6245c78..ee3bbf430 100644 --- a/crates/meilisearch/src/main.rs +++ b/crates/meilisearch/src/main.rs @@ -131,7 +131,7 @@ async fn try_main() -> anyhow::Result<()> { tokio::spawn(async move { 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?;