aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBryn M. Reeves <bmr@redhat.com>2013-04-18 15:41:34 +0100
committerBryn M. Reeves <bmr@redhat.com>2013-04-18 15:41:34 +0100
commitc23a3ffe7fae35df2e534c6205ee4d2ebcc0104e (patch)
tree1ee79549ce4b5fcf901e12cf583a1dec1483990d
parent57656a43be54d4c69098331659fdeafca8638131 (diff)
downloadsos-c23a3ffe7fae35df2e534c6205ee4d2ebcc0104e.tar.gz
Fix auditd command line options
The refactoring in the previous merge commit introduced a bug in the option handling for the auditd plugin ('syslogsize' instead of 'logsize' when referencing the option in setup()). Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
-rw-r--r--sos/plugins/auditd.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/sos/plugins/auditd.py b/sos/plugins/auditd.py
index 6bc6bf49..f0eb8a5c 100644
--- a/sos/plugins/auditd.py
+++ b/sos/plugins/auditd.py
@@ -25,4 +25,4 @@ class auditd(Plugin, RedHatPlugin, DebianPlugin, UbuntuPlugin):
self.add_copy_specs(["/etc/audit/auditd.conf",
"/etc/audit/audit.rules"])
self.add_copy_spec_limit("/var/log/audit*",
- sizelimit = self.get_option("syslogsize"))
+ sizelimit = self.get_option("logsize"))