aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sos/plugins/__init__.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/sos/plugins/__init__.py b/sos/plugins/__init__.py
index 31efe783..edd7b73e 100644
--- a/sos/plugins/__init__.py
+++ b/sos/plugins/__init__.py
@@ -363,6 +363,8 @@ class Plugin(object):
files = glob.glob(fname)
files.sort()
+ if len(files) == 0:
+ return
cursize = 0
limit_reached = False
sizelimit *= 1024 * 1024 # in MB