diff options
author | Bryn M. Reeves <bmr@redhat.com> | 2017-04-19 14:22:50 +0100 |
---|---|---|
committer | Bryn M. Reeves <bmr@redhat.com> | 2017-04-19 14:22:50 +0100 |
commit | a2c387ae1687170e827e0aa2b49faf759c015798 (patch) | |
tree | 89c29aaece080f902842b122594f30157b30cf4f | |
parent | 9593caedebefc2ef10704c8c486a5522e9c98ddb (diff) | |
download | sos-a2c387ae1687170e827e0aa2b49faf759c015798.tar.gz |
[Pugin] revert 77eb4ab (do not return output from failed commands)
Revert this commit: individual plugins must test the command
status (if they care): plugins that attempt to access command
output without testing command status are buggy and need to be
fixed.
Resolves: #986.
Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
-rw-r--r-- | sos/plugins/__init__.py | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/sos/plugins/__init__.py b/sos/plugins/__init__.py index 5286e4b5..35edcb1c 100644 --- a/sos/plugins/__init__.py +++ b/sos/plugins/__init__.py @@ -692,9 +692,6 @@ class Plugin(object): if result['status'] == 126 or result['status'] == 127: return None - if result['status'] == 1: - return None - self._log_debug("collected output of '%s' in %s" % (exe.split()[0], time() - start)) |