aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpcarrier <pcarrier@ef72aa8b-4018-0410-8976-d6e080ef94d8>2011-02-07 12:56:47 +0000
committerpcarrier <pcarrier@ef72aa8b-4018-0410-8976-d6e080ef94d8>2011-02-07 12:56:47 +0000
commit827bffe4746e6af98d23974bb26699da96135cff (patch)
tree2749a56d06248821b1d6b36778228b3a4667d6fb
parent52eecde88fde56f89895e66af1d5e43c1f7cacd4 (diff)
downloadsos-827bffe4746e6af98d23974bb26699da96135cff.tar.gz
[plugins] logrotate.py: removed a UUOC
git-svn-id: svn+ssh://svn.fedorahosted.org/svn/sos/trunk@1073 ef72aa8b-4018-0410-8976-d6e080ef94d8
-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"])