diff options
Diffstat (limited to 'kvmd')
-rw-r--r-- | kvmd/apps/cleanup/__init__.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kvmd/apps/cleanup/__init__.py b/kvmd/apps/cleanup/__init__.py index 22a9cede..89492ebd 100644 --- a/kvmd/apps/cleanup/__init__.py +++ b/kvmd/apps/cleanup/__init__.py @@ -37,7 +37,7 @@ def main() -> None: except subprocess.CalledProcessError: pass - unix_path = config["server"]["unix"] + unix_path = config["server"].get("unix", "") if unix_path and os.path.exists(unix_path): logger.info("Removing socket %r ...", unix_path) os.remove(unix_path) |