aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sos/plugins/logrotate.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/sos/plugins/logrotate.py b/sos/plugins/logrotate.py
index 138e303d..c9362e17 100644
--- a/sos/plugins/logrotate.py
+++ b/sos/plugins/logrotate.py
@@ -21,6 +21,6 @@ class logrotate(sos.plugintools.PluginBase):
def setup(self):
self.collectExtOutput("/usr/sbin/logrotate --debug /etc/logrotate.conf",
suggest_filename = "logrotate_debug")
- self.collectExtOutput("/bin/cat /var/lib/logrotate.status",
- suggest_filename = "logrotate_status")
- self.addCopySpec("/etc/logrotate*")
+ self.addCopySpecs([
+ "/etc/logrotate*",
+ "/var/lig/logrotate.status"])