lxmd: exit cleanly during early shutdown

This commit is contained in:
DeFiDude committed 2026-08-26 20:55:38 -06:00
1 parent fc1c99d3ff
commit e5596ddaa3
1 file changed
+4
+4
View File
@@ -4720,6 +4720,10 @@ pub(crate) async fn main() {
}
};
if let Err(error) = runner.install_announce_subscriptions(&rns_handle).await {
if shutdown.is_triggered() {
tracing::info!("Startup announce cancelled by shutdown");
return;
}
tracing::error!(%error, "failed to install lxmd announce subscriptions");
std::process::exit(1);
}