diff --git a/subiquity/server/controllers/refresh.py b/subiquity/server/controllers/refresh.py index c37d85295..283f28c2e 100644 --- a/subiquity/server/controllers/refresh.py +++ b/subiquity/server/controllers/refresh.py @@ -229,7 +229,7 @@ async def get_progress(self, change_id: str) -> Change: 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