fix handling of failed installations
This commit is contained in:
parent
193243a498
commit
00ab28aa78
|
@ -295,14 +295,13 @@ class InstallProgressController(BaseController):
|
|||
self.progress_view.update_done()
|
||||
|
||||
await self.copy_logs_to_target()
|
||||
except Exception:
|
||||
self.curtin_error()
|
||||
|
||||
if not self.auto_reboot:
|
||||
await self.reboot_clicked.wait()
|
||||
|
||||
self.reboot()
|
||||
except Exception:
|
||||
self.curtin_error()
|
||||
raise
|
||||
|
||||
async def drain_curtin_events(self):
|
||||
waited = 0.0
|
||||
|
|
Loading…
Reference in New Issue