diff options
author | Bryn M. Reeves <bmr@redhat.com> | 2014-07-08 22:29:53 +0100 |
---|---|---|
committer | Bryn M. Reeves <bmr@redhat.com> | 2014-07-08 22:29:53 +0100 |
commit | 745d7f923e1f1f99fea073a97cde8af70eda6fdf (patch) | |
tree | 243948bc547cf33e2f0bc07741d1b3ed74c1f7c5 | |
parent | 89b0be1ff7ed02b650f3481c03407f83caebf38a (diff) | |
download | sos-745d7f923e1f1f99fea073a97cde8af70eda6fdf.tar.gz |
[autofs] make package verification depend on --verify
Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
-rw-r--r-- | sos/plugins/autofs.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sos/plugins/autofs.py b/sos/plugins/autofs.py index f9d73b2c..d0b0b9cb 100644 --- a/sos/plugins/autofs.py +++ b/sos/plugins/autofs.py @@ -54,7 +54,8 @@ class RedHatAutofs(Autofs, RedHatPlugin): def setup(self): super(RedHatAutofs, self).setup() - self.add_cmd_output("rpm -qV autofs") + if self.get_option("verify"): + self.add_cmd_output("rpm -qV autofs") class DebianAutofs(Autofs, DebianPlugin, UbuntuPlugin): """autofs server-related on Debian based distributions""" |