fix(desktop): satisfy agent restart clippy

Co-authored-by: klopez4212 <klopez4212@gmail.com>
Signed-off-by: klopez4212 <klopez4212@gmail.com>
This commit is contained in:
npub13fn4ahfnvaa2qwylvegdgeajqs0mph6v4qsw4jcqnw4mjh3hzh2quuucm5
2026-07-13 09:11:40 +01:00
parent 6037615694
commit b3e0113762

View File

@@ -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,