Fix qubes.lvm _reset
This commit is contained in:
parent
9d30bb132a
commit
064629b63a
@ -190,7 +190,11 @@ class ThinPool(qubes.storage.Pool):
|
|||||||
return volume
|
return volume
|
||||||
|
|
||||||
def _reset(self, volume):
|
def _reset(self, volume):
|
||||||
self.remove(volume)
|
try:
|
||||||
|
self.remove(volume)
|
||||||
|
except qubes.storage.StoragePoolException:
|
||||||
|
pass
|
||||||
|
|
||||||
self.create(volume)
|
self.create(volume)
|
||||||
|
|
||||||
def setup(self):
|
def setup(self):
|
||||||
|
Loading…
Reference in New Issue
Block a user