diff options
author | Devaev Maxim <[email protected]> | 2020-08-23 17:21:26 +0300 |
---|---|---|
committer | Devaev Maxim <[email protected]> | 2020-08-23 17:21:26 +0300 |
commit | 0301b53d5277206a42092d5b76fbe7b853139fad (patch) | |
tree | fb506e569fe1bb0bb635ea407021474f1db779c8 | |
parent | 87b4626fecfce28d7560045505d3df09f262f47f (diff) |
fixed unit naming
-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 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: |