aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBryn M. Reeves <bmr@redhat.com>2012-12-13 01:12:54 +0000
committerBryn M. Reeves <bmr@redhat.com>2012-12-13 01:12:54 +0000
commit2cf9a838c8655c6b50b6d041cd903b3474b4e060 (patch)
tree6f7f05149afb992722616dda899fa52a1b338ff5
parent99c7c2370d140e74699e75307805de33abf56b02 (diff)
downloadsos-2cf9a838c8655c6b50b6d041cd903b3474b4e060.tar.gz
Remove sar file root symlinks
-rw-r--r--sos/plugins/sar.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/sos/plugins/sar.py b/sos/plugins/sar.py
index b3248cbf..26a4881f 100644
--- a/sos/plugins/sar.py
+++ b/sos/plugins/sar.py
@@ -53,6 +53,5 @@ class sar(Plugin, RedHatPlugin, DebianPlugin, UbuntuPlugin):
if sar_filename not in dirList:
sar_command = "/bin/sh -c \"LANG=C /usr/bin/sar " \
+ "-A -f /var/log/sa/" + fname + "\""
- self.collectExtOutput(sar_command, sar_filename,
- root_symlink=sar_filename)
+ self.collectExtOutput(sar_command, sar_filename)
self.addCopySpec("/var/log/sa/sar*")