mirror of
https://github.com/home-assistant/supervisor.git
synced 2025-07-20 07:36:29 +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):
|
async def _start(self):
|
||||||
"""Start HomeAssistant docker & wait."""
|
"""Start HomeAssistant docker & wait."""
|
||||||
if await self.instance.run():
|
if not await self.instance.run():
|
||||||
await self._block_till_run()
|
|
||||||
return False
|
return False
|
||||||
|
return await self._block_till_run()
|
||||||
|
|
||||||
@process_lock
|
@process_lock
|
||||||
def start(self):
|
def start(self):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user