From b33c0737a2de5f4fa0542dee8bee0dd169000d62 Mon Sep 17 00:00:00 2001 From: Bodong Yang Date: Mon, 13 May 2024 09:16:55 +0000 Subject: [PATCH] boot_control: umount_all now ignores errors by default --- otaclient/app/boot_control/_common.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/otaclient/app/boot_control/_common.py b/otaclient/app/boot_control/_common.py index 189287405..bdfecb04c 100644 --- a/otaclient/app/boot_control/_common.py +++ b/otaclient/app/boot_control/_common.py @@ -726,7 +726,7 @@ def prepare_standby_dev( if fslabel: CMDHelperFuncs.set_ext4_fslabel(self.active_slot_dev, fslabel=fslabel) - def umount_all(self, *, ignore_error: bool = False): + def umount_all(self, *, ignore_error: bool = True): logger.debug("unmount standby slot and active slot mount point...") CMDHelperFuncs.umount( self.standby_slot_mount_point, raise_exception=ignore_error