aboutsummaryrefslogtreecommitdiffstats
path: root/src/sosreport
diff options
context:
space:
mode:
Diffstat (limited to 'src/sosreport')
-rwxr-xr-xsrc/sosreport5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/sosreport b/src/sosreport
index aa4e193e..10cab38a 100755
--- a/src/sosreport
+++ b/src/sosreport
@@ -394,8 +394,11 @@ def sosreport():
else:
soslog.warning("Plugin %s does not validate, skipping" % plug)
continue
+ if not __cmdLineOpts__.onlyplugins and not pluginClass(plugbase, commons).defaultenabled():
+ soslog.log(logging.VERBOSE, "Plugin %s not loaded by default." % plug)
+ continue
if not pluginClass(plugbase, commons).checkenabled():
- soslog.log(logging.VERBOSE, "Plugin %s auto-disabled itself." % plug)
+ soslog.log(logging.VERBOSE, "Plugin %s is inactive." % plug)
continue
loadedplugins.append((plugbase, pluginClass(plugbase, commons)))
except: