Merge pull request #1777 from dbungert/refresh-vs-autoinstall
refresh: fix crash during autoinstall
This commit is contained in:
commit
ec5e5f576c
|
@ -229,7 +229,7 @@ class RefreshController(SubiquityController):
|
|||
return change
|
||||
|
||||
async def GET(self, wait: bool = False) -> RefreshStatus:
|
||||
if wait:
|
||||
if self.active and wait:
|
||||
await self.check_task.wait()
|
||||
return self.status
|
||||
|
||||
|
|
Loading…
Reference in New Issue