remount-ro on remove() is not fatal

This commit is contained in:
Maxim Devaev 2022-07-24 06:01:09 +03:00
parent 779d0de59f
commit 90ae558f36

View File

@ -416,7 +416,7 @@ class Plugin(BaseMsd): # pylint: disable=too-many-instance-attributes
await self.__remount_rw(True)
os.remove(image.path)
self.__set_image_complete(name, False)
await self.__remount_rw(False)
await self.__remount_rw(False, fatal=False)
# =====