Skip to content

Commit

Permalink
Merge pull request #898 from ya0guang/patch-1
Browse files Browse the repository at this point in the history
change `SIGINT` to `SIGQUIT`
  • Loading branch information
jprendes authored Mar 3, 2025
2 parents 4f17079 + 107bbd6 commit 97e855d
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 97e855d

Please sign in to comment.