Private
Public Access
1
0

fix: remove duplicate comment causing cargo fmt failure

This commit is contained in:
2026-05-05 18:18:57 +00:00
parent fb3ba3f2c1
commit 57346857ef

View File

@ -568,7 +568,6 @@ fn get_systemd_service_status(name: &str) -> Result<Option<ServiceStatus>> {
let healthy = active_state == "active" && sub_state == "running";
// Check for socket activation: if service is inactive but enabled,
// check if the corresponding .socket unit is active (listening)
let healthy = if !healthy && active_state == "inactive" && unit_file_state == "enabled" {