mirror of
https://github.com/mofeng-git/One-KVM.git
synced 2026-01-31 01:51:53 +08:00
remount-ro on remove() is not fatal
This commit is contained in:
@@ -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)
|
||||||
|
|
||||||
# =====
|
# =====
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user