diff options
Diffstat (limited to 'init/src/services')
| -rw-r--r-- | init/src/services/units.rs | 5 |
1 files changed, 2 insertions, 3 deletions
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<dyn std::error::Error + Send>> { } } } else { - false } } - Ok(None) => true, + Ok(None) => true, Err(e) => { log_warning(&format!("Failed to check status of {}: {}", exec, e)); false |
