mirror of
https://gitlab.computer.surgery/matrix/grapevine.git
synced 2025-12-17 15:51:23 +01:00
enable ignored_unit_patterns lint
This commit is contained in:
parent
623824dc0c
commit
b0f65913f3
5 changed files with 6 additions and 8 deletions
|
|
@ -486,8 +486,8 @@ async fn shutdown_signal(handle: ServerHandle) {
|
|||
let sig: &str;
|
||||
|
||||
tokio::select! {
|
||||
_ = ctrl_c => { sig = "Ctrl+C"; },
|
||||
_ = terminate => { sig = "SIGTERM"; },
|
||||
() = ctrl_c => { sig = "Ctrl+C"; },
|
||||
() = terminate => { sig = "SIGTERM"; },
|
||||
}
|
||||
|
||||
warn!("Received {}, shutting down...", sig);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue