mirror of
https://github.com/mofeng-git/One-KVM.git
synced 2025-12-13 01:30:31 +08:00
remount-ro on remove() is not fatal
This commit is contained in:
parent
779d0de59f
commit
90ae558f36
@ -416,7 +416,7 @@ class Plugin(BaseMsd): # pylint: disable=too-many-instance-attributes
|
|||||||
await self.__remount_rw(True)
|
await self.__remount_rw(True)
|
||||||
os.remove(image.path)
|
os.remove(image.path)
|
||||||
self.__set_image_complete(name, False)
|
self.__set_image_complete(name, False)
|
||||||
await self.__remount_rw(False)
|
await self.__remount_rw(False, fatal=False)
|
||||||
|
|
||||||
# =====
|
# =====
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user