aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rwxr-xr-xsrc/sosreport4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/sosreport b/src/sosreport
index e0b3e7a4..63f0648d 100755
--- a/src/sosreport
+++ b/src/sosreport
@@ -233,6 +233,10 @@ def sosreport():
raise
print "plugin load failed for %s" % plug
+ if not len(loadedplugins):
+ print "no valid plugins were enabled"
+ sys.exit(1)
+
# Iterate over plugins for each stage
# First, gather and process options