From 90ae558f369381d7c8104ba214080258e2dd99ec Mon Sep 17 00:00:00 2001 From: Maxim Devaev Date: Sun, 24 Jul 2022 06:01:09 +0300 Subject: remount-ro on remove() is not fatal --- kvmd/plugins/msd/otg/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'kvmd') diff --git a/kvmd/plugins/msd/otg/__init__.py b/kvmd/plugins/msd/otg/__init__.py index 4bdd1359..962502cd 100644 --- a/kvmd/plugins/msd/otg/__init__.py +++ b/kvmd/plugins/msd/otg/__init__.py @@ -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) # ===== -- cgit v1.2.3