diff options
author | Devaev Maxim <[email protected]> | 2021-05-01 04:03:22 +0300 |
---|---|---|
committer | Devaev Maxim <[email protected]> | 2021-05-01 04:03:22 +0300 |
commit | 0b1dffb94231bb24b2b0e84a1398cb18658e344a (patch) | |
tree | af68a683164e5c46bc2d80d0881dda7c102fd1eb | |
parent | a55fc88e3c14eff99efc13f1a6d7734101b8bc23 (diff) |
false on dbus error
-rw-r--r-- | kvmd/apps/kvmd/info/extras.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kvmd/apps/kvmd/info/extras.py b/kvmd/apps/kvmd/info/extras.py index 304dc3d3..61b2f483 100644 --- a/kvmd/apps/kvmd/info/extras.py +++ b/kvmd/apps/kvmd/info/extras.py @@ -65,7 +65,7 @@ class ExtrasInfoSubmanager(BaseInfoSubmanager): daemon = extras.get("daemon", "") if isinstance(daemon, str) and daemon.strip(): status = get_service_status(daemon) - (extras["enabled"], extras["started"]) = (status if status is not None else (True, True)) + (extras["enabled"], extras["started"]) = (status if status is not None else (False, False)) def __rewrite_app_port(self, extras: Dict) -> None: port_path = extras.get("port", "") |