fix: remove duplicate comment causing cargo fmt failure
This commit is contained in:
@ -568,7 +568,6 @@ fn get_systemd_service_status(name: &str) -> Result<Option<ServiceStatus>> {
|
|||||||
|
|
||||||
let healthy = active_state == "active" && sub_state == "running";
|
let healthy = active_state == "active" && sub_state == "running";
|
||||||
|
|
||||||
|
|
||||||
// Check for socket activation: if service is inactive but enabled,
|
// Check for socket activation: if service is inactive but enabled,
|
||||||
// check if the corresponding .socket unit is active (listening)
|
// check if the corresponding .socket unit is active (listening)
|
||||||
let healthy = if !healthy && active_state == "inactive" && unit_file_state == "enabled" {
|
let healthy = if !healthy && active_state == "inactive" && unit_file_state == "enabled" {
|
||||||
|
|||||||
Reference in New Issue
Block a user