storage/reflink: get VM dir from less arbitrary-looking path
This commit is contained in:
parent
12d882b355
commit
56f6a6ef65
@ -177,7 +177,7 @@ class ReflinkVolume(qubes.storage.Volume):
|
||||
def remove(self):
|
||||
self.pool._volumes.pop(self, None) # pylint: disable=protected-access
|
||||
self._remove_all_images()
|
||||
_remove_empty_dir(os.path.dirname(self._path_dirty))
|
||||
_remove_empty_dir(os.path.dirname(self._path_vid))
|
||||
return self
|
||||
|
||||
def _remove_all_images(self):
|
||||
|
Loading…
Reference in New Issue
Block a user