mirror of
https://github.com/home-assistant/supervisor.git
synced 2025-07-19 07:06:30 +00:00
Fix logic
This commit is contained in:
parent
b692b19a4d
commit
f062f31ca2
@ -216,9 +216,9 @@ class HomeAssistant(JsonConfig, CoreSysAttributes):
|
||||
|
||||
async def _start(self):
|
||||
"""Start HomeAssistant docker & wait."""
|
||||
if await self.instance.run():
|
||||
await self._block_till_run()
|
||||
return False
|
||||
if not await self.instance.run():
|
||||
return False
|
||||
return await self._block_till_run()
|
||||
|
||||
@process_lock
|
||||
def start(self):
|
||||
|
Loading…
x
Reference in New Issue
Block a user