mirror of
https://github.com/meilisearch/MeiliSearch
synced 2025-01-12 22:37:29 +01:00
Change the exit code to 130 when Ctrl-Ced
This commit is contained in:
parent
04a24a9239
commit
1fdfa3f208
@ -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?;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user