From 89b0be1ff7ed02b650f3481c03407f83caebf38a Mon Sep 17 00:00:00 2001 From: "Bryn M. Reeves" Date: Tue, 8 Jul 2014 22:29:31 +0100 Subject: [auditd] style fixes Signed-off-by: Bryn M. Reeves --- sos/plugins/auditd.py | 1 + 1 file changed, 1 insertion(+) diff --git a/sos/plugins/auditd.py b/sos/plugins/auditd.py index 3bb022d9..52c8843e 100644 --- a/sos/plugins/auditd.py +++ b/sos/plugins/auditd.py @@ -27,6 +27,7 @@ class Auditd(Plugin, RedHatPlugin, DebianPlugin, UbuntuPlugin): "/etc/audit/auditd.conf", "/etc/audit/audit.rules" ]) + if not self.get_option("all_logs"): limit = self.get_option("log_size") self.add_copy_spec_limit("/var/log/audit/audit.log", sizelimit=limit) -- cgit