aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/sos/plugins/libraries.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/sos/plugins/libraries.py')
-rw-r--r--src/lib/sos/plugins/libraries.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/sos/plugins/libraries.py b/src/lib/sos/plugins/libraries.py
index f6adf89b..1ce7b590 100644
--- a/src/lib/sos/plugins/libraries.py
+++ b/src/lib/sos/plugins/libraries.py
@@ -17,8 +17,8 @@ import sos.plugintools
class libraries(sos.plugintools.PluginBase):
"""This plugin gathers information on shared libraries
"""
- def collect(self):
- self.copyFileOrDir("/etc/ld.so.conf")
- self.copyFileOrDir("/etc/ld.so.conf.d")
+ def setup(self):
+ self.addCopySpec("/etc/ld.so.conf")
+ self.addCopySpec("/etc/ld.so.conf.d")
return