diff options
-rw-r--r-- | sos/plugins/__init__.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sos/plugins/__init__.py b/sos/plugins/__init__.py index 607828f9..4c8822b7 100644 --- a/sos/plugins/__init__.py +++ b/sos/plugins/__init__.py @@ -503,7 +503,7 @@ class Plugin(object): self.archive.add_string(result, srcpath) else: replacements = 0 - except OSError as e: + except (OSError, IOError) as e: # if trying to regexp a nonexisting file, dont log it as an # error to stdout if e.errno == errno.ENOENT: |