From 3b3bcf1306857e0607010d657a1c9cc0b846d977 Mon Sep 17 00:00:00 2001 From: namilsk Date: Sat, 7 Mar 2026 00:14:24 +0300 Subject: Autofmt, updated `TODO.md` --- init/src/services/units.rs | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'init/src/services/units.rs') diff --git a/init/src/services/units.rs b/init/src/services/units.rs index 316a15e..2497668 100644 --- a/init/src/services/units.rs +++ b/init/src/services/units.rs @@ -10,7 +10,7 @@ // or logs in such init systems are just taking the stdout+stderr // of service and showing its output? idk 4 now, look into how its supposed to be -use crate::{log_success, log_warning, RUNLEVEL_STATE}; +use crate::{RUNLEVEL_STATE, log_success, log_warning}; use serde::Deserialize; use std::{ fs::{read_dir, read_to_string}, @@ -213,11 +213,10 @@ pub fn services_mainloop() -> Result<(), Box> { } } } else { - false } } - Ok(None) => true, + Ok(None) => true, Err(e) => { log_warning(&format!("Failed to check status of {}: {}", exec, e)); false -- cgit v1.2.3