From 5d2fe7643c8cd1781b93e5937314ada51561dcbe Mon Sep 17 00:00:00 2001 From: Rusty Bird Date: Mon, 15 Feb 2021 14:10:47 +0000 Subject: [PATCH] storage/file: delete -cow.img.old on volume remove() --- qubes/storage/file.py | 1 + 1 file changed, 1 insertion(+) diff --git a/qubes/storage/file.py b/qubes/storage/file.py index 32b35ace..789ff35c 100644 --- a/qubes/storage/file.py +++ b/qubes/storage/file.py @@ -218,6 +218,7 @@ class FileVolume(qubes.storage.Volume): _remove_if_exists(self.path) if self.snap_on_start or self.save_on_stop: _remove_if_exists(self.path_cow) + _remove_if_exists(self.path_cow + '.old') def is_outdated(self): return False # avoid spamming the log with NotImplementedError