mirror of
https://github.com/fabro-sh/fabro.git
synced 2026-09-11 22:53:00 +00:00
Shell-quote vm_name in exe.dev cleanup command
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
46a110f1c0
commit
af668b459b
1 changed files with 1 additions and 1 deletions
|
|
@ -388,7 +388,7 @@ impl Sandbox for ExeSandbox {
|
|||
let start = Instant::now();
|
||||
|
||||
if let Some(vm_name) = self.vm_name.get() {
|
||||
let cmd = format!("rm {vm_name}");
|
||||
let cmd = format!("rm {}", shell_quote(vm_name));
|
||||
if let Err(e) = self.mgmt_ssh.run_command(&cmd).await {
|
||||
let err = format!("Failed to destroy exe.dev VM: {e}");
|
||||
self.emit(SandboxEvent::CleanupFailed {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue