From 6764dee29aeb9db9e12e902c1c60a8884d5bcb79 Mon Sep 17 00:00:00 2001 From: namilsk Date: Sun, 15 Feb 2026 17:19:29 +0300 Subject: Fixed error with `pids.retain` in services/units.rs --- init/src/services/units.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'init/src/services') diff --git a/init/src/services/units.rs b/init/src/services/units.rs index ffb7900..316a15e 100644 --- a/init/src/services/units.rs +++ b/init/src/services/units.rs @@ -139,7 +139,7 @@ pub fn services_mainloop() -> Result<(), Box> { )); // Stops other runlevel services - pids.retain(|(child, exec, _, _)| { + pids.retain_mut(|(child, exec, _, _)| { // TODO: Correct stop with SIGTERM + timeout match child.try_wait() { Ok(Some(_)) => { -- cgit v1.2.3