aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sos/sosreport.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/sos/sosreport.py b/sos/sosreport.py
index 29b6f640..49d5910b 100644
--- a/sos/sosreport.py
+++ b/sos/sosreport.py
@@ -781,7 +781,7 @@ class SoSReport(object):
def _is_in_profile(self, plugin_class):
onlyplugins = self.opts.onlyplugins
- if not len(self.profiles):
+ if not len(self.opts.profiles):
return True
if not hasattr(plugin_class, "profiles"):
return False