From dadd364f976465f29fa2b91c7e5e2df31201f38a Mon Sep 17 00:00:00 2001 From: codefiles <11915375+codefiles@users.noreply.github.com> Date: Mon, 26 May 2025 20:29:02 -0400 Subject: [PATCH] Remove duplicate LUKS unlock check --- archinstall/lib/disk/device_handler.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/archinstall/lib/disk/device_handler.py b/archinstall/lib/disk/device_handler.py index 8894d562fb..cee5b9bf78 100644 --- a/archinstall/lib/disk/device_handler.py +++ b/archinstall/lib/disk/device_handler.py @@ -674,9 +674,6 @@ def unlock_luks2_dev( if not luks_handler.is_unlocked(): luks_handler.unlock() - if not luks_handler.is_unlocked(): - raise DiskError(f'Failed to unlock luks2 device: {dev_path}') - return luks_handler def umount_all_existing(self, device_path: Path) -> None: