diff --git a/chroma_agent/action_plugins/manage_rsyslog.py b/chroma_agent/action_plugins/manage_rsyslog.py index 5fd3eee..2ea32f4 100644 --- a/chroma_agent/action_plugins/manage_rsyslog.py +++ b/chroma_agent/action_plugins/manage_rsyslog.py @@ -46,8 +46,6 @@ def configure_rsyslog(args): if rc != 0: shell.try_run(['service', 'rsyslog', 'restart']) - f.close() - class RsyslogPlugin(ActionPlugin): def register_commands(self, parser):