Skip to content

Commit

Permalink
change SIGINT to SIGQUIT
Browse files Browse the repository at this point in the history
Signed-off-by: Hongbo <12580159+ya0guang@users.noreply.github.com>
  • Loading branch information
ya0guang authored Mar 3, 2025
1 parent 4f17079 commit 107bbd6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/containerd-shim-wasmtime/src/instance.rs
Original file line number Diff line number Diff line change
Expand Up @@ -421,7 +421,7 @@ async fn wait_for_signal() -> Result<i32> {
let mut sigterm = signal(SignalKind::terminate())?;

tokio::select! {
_ = sigquit.recv() => { Ok(libc::SIGINT) }
_ = sigquit.recv() => { Ok(libc::SIGQUIT) }
_ = sigterm.recv() => { Ok(libc::SIGTERM) }
_ = tokio::signal::ctrl_c() => { Ok(libc::SIGINT) }
}
Expand Down

0 comments on commit 107bbd6

Please sign in to comment.