From c8f1f78679c861ae30c4428878329e04db5a9971 Mon Sep 17 00:00:00 2001 From: codefiles <11915375+codefiles@users.noreply.github.com> Date: Mon, 26 May 2025 23:08:45 -0400 Subject: [PATCH] Remove duplicate LUKS unlock check (#3510) --- 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 8894d562..cee5b9bf 100644 --- a/archinstall/lib/disk/device_handler.py +++ b/archinstall/lib/disk/device_handler.py @@ -674,9 +674,6 @@ class DeviceHandler: 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: