mirror of
https://github.com/home-assistant/supervisor.git
synced 2025-07-24 17:46:32 +00:00
Simplify OS check (#1939)
This commit is contained in:
parent
e3ee9a299f
commit
011e2b3df5
@ -132,10 +132,6 @@ class Core(CoreSysAttributes):
|
|||||||
_LOGGER.error(
|
_LOGGER.error(
|
||||||
"Detected unsupported OS: %s", self.sys_host.info.operating_system,
|
"Detected unsupported OS: %s", self.sys_host.info.operating_system,
|
||||||
)
|
)
|
||||||
else:
|
|
||||||
# Check rauc connectivity on our OS
|
|
||||||
if not self.sys_dbus.rauc.is_connected:
|
|
||||||
self.healthy = False
|
|
||||||
|
|
||||||
# Check all DBUS connectivity
|
# Check all DBUS connectivity
|
||||||
if not self.sys_dbus.hostname.is_connected:
|
if not self.sys_dbus.hostname.is_connected:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user