From 18920014feef86342303bf201d54e95ccb90ff97 Mon Sep 17 00:00:00 2001 From: Fredrik Eriksson Date: Sat, 13 Jul 2024 21:10:22 +0200 Subject: [PATCH] fix proper return --- sysalert/util.py | 1 + 1 file changed, 1 insertion(+) diff --git a/sysalert/util.py b/sysalert/util.py index e071f3a..c7fdcc1 100644 --- a/sysalert/util.py +++ b/sysalert/util.py @@ -81,6 +81,7 @@ def cli(): config.read(config_file) db = sysalert.db.init(db_file) + ret = 0 if _test_env(): # invoked by systemd ret = register_exit(config, db)