summaryrefslogtreecommitdiff
path: root/kvmd/apps
diff options
context:
space:
mode:
Diffstat (limited to 'kvmd/apps')
-rw-r--r--kvmd/apps/kvmd/info/extras.py2
1 files changed, 1 insertions, 1 deletions
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: