From 50a6cd363772663b96818db200de394048573f09 Mon Sep 17 00:00:00 2001 From: Bryan Helmkamp Date: Fri, 24 Jul 2026 23:01:32 -0400 Subject: [PATCH] fix(sandbox): canonicalize cached Bash path --- lib/components/fabro-sandbox/src/local.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/components/fabro-sandbox/src/local.rs b/lib/components/fabro-sandbox/src/local.rs index f56c6a18d..0a0eca44c 100644 --- a/lib/components/fabro-sandbox/src/local.rs +++ b/lib/components/fabro-sandbox/src/local.rs @@ -92,8 +92,7 @@ impl LocalSandbox { } }; - let _ = self.bash_path.set(resolved.clone()); - Ok(resolved) + Ok(self.bash_path.get_or_init(|| resolved).clone()) } /// Verify the resolved executable is non-login Bash.