Merge remote-tracking branch 'qubesos/pr/5'

* qubesos/pr/5:
  anaconda: fix encryption passphrase check
pull/6/head
Marek Marczykowski-Górecki 8 years ago
commit be9f5b2163
No known key found for this signature in database
GPG Key ID: 063938BA42CFA724

@ -343,7 +343,7 @@ class StorageSpoke(NormalSpoke, StorageChecker):
# on the off-chance dasdfmt is running, we can't proceed further
threadMgr.wait(constants.THREAD_DASDFMT)
hubQ.send_message(self.__class__.__name__, _("Saving storage configuration..."))
if flags.automatedInstall and self.data.autopart.encrypted and not self.data.autopart.passphrase:
if flags.automatedInstall and self.data.autopart.autopart and self.data.autopart.encrypted and not self.data.autopart.passphrase:
self.autopart_missing_passphrase = True
StorageChecker.errors = [_("Passphrase for autopart encryption not specified.")]
self._ready = True

Loading…
Cancel
Save