aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBryn M. Reeves <bmr@redhat.com>2017-04-19 14:22:50 +0100
committerBryn M. Reeves <bmr@redhat.com>2017-04-19 14:22:50 +0100
commita2c387ae1687170e827e0aa2b49faf759c015798 (patch)
tree89c29aaece080f902842b122594f30157b30cf4f
parent9593caedebefc2ef10704c8c486a5522e9c98ddb (diff)
downloadsos-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__.py3
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))