aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xsrc/sosreport2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sosreport b/src/sosreport
index a04108dd..5f7d5cf8 100755
--- a/src/sosreport
+++ b/src/sosreport
@@ -173,7 +173,7 @@ def sosreport():
sys.exit()
for plug in plugins:
- if ((plug[-3:] == '.py') and (plug != "__init__.py")):
+ if ((plug[-3:] == '.py') and (plug != "__init__.py") and (plug[:-3] not in __cmdLineOpts__.noplugins) ):
try:
plugbase = plug[:-3]
pidot = "sos.plugins." + plugbase