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.