Commit 14dcc4e
committed
fix(vmm): preserve orphan VM workdir when no .removing marker
Only delete the VM workdir during cleanup if the .removing marker file
is present (set by user-initiated remove_vm). Orphaned supervisor
processes discovered at startup without the marker now have their
workdir preserved, preventing accidental data loss on VMM restart.1 parent 8630143 commit 14dcc4e
1 file changed
Lines changed: 9 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
351 | 351 | | |
352 | 352 | | |
353 | 353 | | |
354 | | - | |
| 354 | + | |
| 355 | + | |
355 | 356 | | |
356 | | - | |
357 | | - | |
358 | | - | |
| 357 | + | |
| 358 | + | |
| 359 | + | |
| 360 | + | |
| 361 | + | |
359 | 362 | | |
| 363 | + | |
| 364 | + | |
360 | 365 | | |
361 | 366 | | |
362 | 367 | | |
| |||
0 commit comments