From b3e01137620957bf258001462c0f3ffec98140c0 Mon Sep 17 00:00:00 2001 From: npub13fn4ahfnvaa2qwylvegdgeajqs0mph6v4qsw4jcqnw4mjh3hzh2quuucm5 <8a675edd33677aa0389f6650d467b2041fb0df4ca820eacb009babb95e3715d4@sprout-oss.stage.blox.sqprod.co> Date: Mon, 13 Jul 2026 09:11:40 +0100 Subject: [PATCH] fix(desktop): satisfy agent restart clippy Co-authored-by: klopez4212 Signed-off-by: klopez4212 --- desktop/src-tauri/src/commands/agent_discovery.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/desktop/src-tauri/src/commands/agent_discovery.rs b/desktop/src-tauri/src/commands/agent_discovery.rs index 78e26fa7ad..656bf639fa 100644 --- a/desktop/src-tauri/src/commands/agent_discovery.rs +++ b/desktop/src-tauri/src/commands/agent_discovery.rs @@ -322,7 +322,7 @@ async fn restart_setup_mode_agents_after_install( &global, ); let now_ready = matches!(agent_readiness(&effective), AgentReadiness::Ready); - let pid_alive = pid.is_some_and(|p| crate::managed_agents::process_is_running(p)); + let pid_alive = pid.is_some_and(crate::managed_agents::process_is_running); should_restart_after_install( is_local, pid_alive,