diff --git a/src/agent/src/sandbox.rs b/src/agent/src/sandbox.rs index 9da20c4f07..b669141874 100644 --- a/src/agent/src/sandbox.rs +++ b/src/agent/src/sandbox.rs @@ -103,8 +103,9 @@ impl Sandbox { *count -= 1; if *count < 1 { self.storages.remove(path); + return true; } - return true; + false } } }