diff options
-rw-r--r-- | lib/ohai/plugins/cpu.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ohai/plugins/cpu.rb b/lib/ohai/plugins/cpu.rb index 1a074e3c..e26a7ace 100644 --- a/lib/ohai/plugins/cpu.rb +++ b/lib/ohai/plugins/cpu.rb @@ -499,7 +499,7 @@ Ohai.plugin(:CPU) do cpu[:total] = shell_out("pmcycles -m").stdout.lines.length - # The below is only relevent on an LPAR + # The below is only relevant on an LPAR if shell_out("uname -W").stdout.strip == "0" # At least one CPU will be available, but we'll wait to increment this later. |