Skip to content

Commit dadd364

Browse files
committed
Remove duplicate LUKS unlock check
1 parent 2623039 commit dadd364

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

archinstall/lib/disk/device_handler.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -674,9 +674,6 @@ def unlock_luks2_dev(
674674
if not luks_handler.is_unlocked():
675675
luks_handler.unlock()
676676

677-
if not luks_handler.is_unlocked():
678-
raise DiskError(f'Failed to unlock luks2 device: {dev_path}')
679-
680677
return luks_handler
681678

682679
def umount_all_existing(self, device_path: Path) -> None:

0 commit comments

Comments
 (0)