Skip to content

Commit

Permalink
boot_control: umount_all now ignores errors by default
Browse files Browse the repository at this point in the history
  • Loading branch information
Bodong-Yang committed May 13, 2024
1 parent 47c4cc5 commit b33c073
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion otaclient/app/boot_control/_common.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b33c073

Please sign in to comment.