diff options
Diffstat (limited to 'kvmd')
-rw-r--r-- | kvmd/plugins/msd/otg/__init__.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kvmd/plugins/msd/otg/__init__.py b/kvmd/plugins/msd/otg/__init__.py index d7bbb571..b39ca564 100644 --- a/kvmd/plugins/msd/otg/__init__.py +++ b/kvmd/plugins/msd/otg/__init__.py @@ -375,11 +375,11 @@ class Plugin(BaseMsd): # pylint: disable=too-many-instance-attributes if self.__state.vd.image == image: self.__state.vd.image = None - del self.__state.storage.images[name] await self.__remount_rw(True) try: image.remove(fatal=True) + del self.__state.storage.images[name] finally: await self.__remount_rw(False, fatal=False) |