Remove unused import

This commit is contained in:
Luc Perkins 2024-05-17 15:49:20 -03:00
parent d1c5d5203b
commit 1bb6c86f5d
No known key found for this signature in database
GPG key ID: 16DB1108FB591835

View file

@ -26,7 +26,6 @@ use std::io::Write;
use std::net::SocketAddr;
use std::os::unix::fs::PermissionsExt;
use std::path::{Path, PathBuf};
use std::process::exit;
use std::sync::Arc;
use ::attic::nix_store::NixStore;
@ -417,7 +416,8 @@ async fn main_cli() -> Result<()> {
.with_graceful_shutdown(async move {
shutdown_receiver.await.ok();
tracing::info!("Shutting down");
})?;
})
.await;
// Notify diagnostics endpoint
if let Some(diagnostic_endpoint) = diagnostic_endpoint {