Skip to content

Commit

Permalink
Make clippy happy
Browse files Browse the repository at this point in the history
  • Loading branch information
xgreenx committed Feb 14, 2024
1 parent 95a182e commit 6747eb4
Showing 1 changed file with 6 additions and 10 deletions.
16 changes: 6 additions & 10 deletions bin/fuel-core/src/cli/run.rs
Original file line number Diff line number Diff line change
Expand Up @@ -425,16 +425,12 @@ async fn shutdown_signal() -> anyhow::Result<()> {

let mut sigint =
tokio::signal::unix::signal(tokio::signal::unix::SignalKind::interrupt())?;
loop {
tokio::select! {
_ = sigterm.recv() => {
tracing::info!("sigterm received");
break;
}
_ = sigint.recv() => {
tracing::info!("sigint received");
break;
}
tokio::select! {
_ = sigterm.recv() => {
tracing::info!("sigterm received");
}
_ = sigint.recv() => {
tracing::info!("sigint received");
}
}
}
Expand Down

0 comments on commit 6747eb4

Please sign in to comment.