Skip to content

Commit

Permalink
Re-enable isolate cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
quantumsheep committed May 10, 2021
1 parent 98814eb commit a0f1c9a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/isolate.rs
Original file line number Diff line number Diff line change
Expand Up @@ -248,8 +248,7 @@ impl IsolatedBox {
pub fn cleanup(&self) -> io::Result<ExecutedCommandResult> {
let box_id_arg = format!("-b {}", self.box_id);

// let isolate_args = vec!["isolate", "--cg", &box_id_arg, "--cleanup"];
let isolate_args = vec!["/bin/ls"];
let isolate_args = vec!["isolate", "--cg", &box_id_arg, "--cleanup"];

exec_command(isolate_args, None, None)
}
Expand Down

0 comments on commit a0f1c9a

Please sign in to comment.