Spelling error.
This commit is contained in:
parent
32ab44e6da
commit
51cbec58da
|
|
@ -251,7 +251,7 @@ def perform_installation_steps():
|
||||||
# Partition might be marked as encrypted due to the filesystem type crypt_LUKS
|
# 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.
|
# 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.
|
# 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)
|
partition.encrypt(password=passwd)
|
||||||
else:
|
else:
|
||||||
partition.format()
|
partition.format()
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue