fix proper return
This commit is contained in:
parent
0aae142c05
commit
18920014fe
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user