diff options
-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""" |