Spelling error.

This commit is contained in:
Anton Hvornum 2021-03-14 15:32:52 +01:00
parent 32ab44e6da
commit 51cbec58da
No known key found for this signature in database
GPG Key ID: F1234C5BA67C59DF
1 changed files with 1 additions and 1 deletions

View File

@ -251,7 +251,7 @@ def perform_installation_steps():
# Partition might be marked as encrypted due to the filesystem type crypt_LUKS
# But we might have omitted the encryption password question to skip encryption.
# In which case partition.encrypted will be true, but passwd will be false.
if partition.encrypted and passwd := archinstall.arguments.get('!encryption-password', None):
if partition.encrypted and (passwd := archinstall.arguments.get('!encryption-password', None)):
partition.encrypt(password=passwd)
else:
partition.format()