Remove duplicate LUKS unlock check (#3510)

This commit is contained in:
codefiles 2025-05-26 23:08:45 -04:00 committed by GitHub
parent 2623039fff
commit c8f1f78679
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 0 additions and 3 deletions

View File

@ -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: