From 0301b53d5277206a42092d5b76fbe7b853139fad Mon Sep 17 00:00:00 2001 From: Devaev Maxim Date: Sun, 23 Aug 2020 17:21:26 +0300 Subject: fixed unit naming --- kvmd/apps/kvmd/info/extras.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'kvmd') diff --git a/kvmd/apps/kvmd/info/extras.py b/kvmd/apps/kvmd/info/extras.py index 2f066925..6097d6a3 100644 --- a/kvmd/apps/kvmd/info/extras.py +++ b/kvmd/apps/kvmd/info/extras.py @@ -79,7 +79,7 @@ class ExtrasInfoSubmanager(BaseInfoSubmanager): extras["port"] = config def __is_daemon_enabled(self, name: str) -> bool: - if not name.startswith(".service"): + if not name.endswith(".service"): name += ".service" try: -- cgit v1.2.3