diff options
author | Bryn M. Reeves <bmr@redhat.com> | 2014-07-08 22:29:31 +0100 |
---|---|---|
committer | Bryn M. Reeves <bmr@redhat.com> | 2014-07-08 22:29:31 +0100 |
commit | 89b0be1ff7ed02b650f3481c03407f83caebf38a (patch) | |
tree | 83337f8ff47ae74cabba35c268cd1bd37a299864 | |
parent | aab365f4bf3e5fa1d1a52f4a625ea1b3700fb35e (diff) | |
download | sos-89b0be1ff7ed02b650f3481c03407f83caebf38a.tar.gz |
[auditd] style fixes
Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
-rw-r--r-- | sos/plugins/auditd.py | 1 |
1 files changed, 1 insertions, 0 deletions
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) |