aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBryn M. Reeves <bmr@redhat.com>2014-03-27 13:46:40 +0000
committerBryn M. Reeves <bmr@redhat.com>2014-03-27 13:46:40 +0000
commit36055d3d069a1176787e4dfb722fc5ca9a804ac5 (patch)
tree6d601b277724157181e4ee6e253f63751b71ee4b
parent691e1811a2c6557c062a76e754a3b5228ce40fbf (diff)
downloadsos-36055d3d069a1176787e4dfb722fc5ca9a804ac5.tar.gz
Fix x86 arch detection in processor plugin
Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
-rw-r--r--sos/plugins/processor.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/sos/plugins/processor.py b/sos/plugins/processor.py
index 0b236f8f..14d800e2 100644
--- a/sos/plugins/processor.py
+++ b/sos/plugins/processor.py
@@ -36,7 +36,7 @@ class Processor(Plugin, RedHatPlugin, UbuntuPlugin, DebianPlugin):
self.add_cmd_output("cpupower idle-info")
self.add_cmd_output("cpupower frequency-info")
- if self.policy().get_arch().endswith("386"):
+ if '86' in self.policy().get_arch():
self.add_cmd_output("x86info -a")