diff --git a/pyproject.toml b/pyproject.toml index 5cd6721..3a7eab5 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -11,7 +11,7 @@ dependencies = [ ] description = "Generic OnFailure= and OnSuccess= handler for systemd" readme = "README.md" -license = { file = "LICENSE" } +license = "MIT" keywords = [ "systemd" ] classifiers = [ "Development Status :: 4 - Beta", diff --git a/src/sysalert/util.py b/src/sysalert/util.py index e6bf829..77afebc 100644 --- a/src/sysalert/util.py +++ b/src/sysalert/util.py @@ -120,7 +120,6 @@ def cli(): cli_list(args, db) elif args.cmd == 'clear': cli_clear(args, db) - else: sysalert.db.close(db) return ret