diff options
-rw-r--r-- | sos/plugins/anacron.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/sos/plugins/anacron.py b/sos/plugins/anacron.py index a60c85e1..e9595a8e 100644 --- a/sos/plugins/anacron.py +++ b/sos/plugins/anacron.py @@ -21,7 +21,9 @@ class Anacron(Plugin, RedHatPlugin, DebianPlugin, UbuntuPlugin): plugin_name = 'anacron' - packages = ('anacron',) + # anacron may be provided by anacron, cronie-anacron etc. + # just look for the configuration file which is common + files = ('/etc/anacrontab',) def setup(self): - self.add_copy_spec("/etc/anacrontab") + self.add_copy_specs(list(self.files)) |