aboutsummaryrefslogtreecommitdiffstats
path: root/src/sosreport
diff options
context:
space:
mode:
Diffstat (limited to 'src/sosreport')
-rwxr-xr-xsrc/sosreport3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/sosreport b/src/sosreport
index 894537b8..3adbbb8e 100755
--- a/src/sosreport
+++ b/src/sosreport
@@ -303,6 +303,9 @@ def sosreport():
else:
soslog.warning("Plugin %s does not validate, skipping" % plug)
continue
+ if pluginClass(plugbase, commons).checkenabled:
+ soslog.debug("Plugin %s auto-disabled itself." % plug)
+ continue
loadedplugins.append((plugbase, pluginClass(plugbase, commons)))
except:
soslog.warning("Plugin %s does not install, skipping" % plug)