check-cpu.rb giving an error #812

compatibility for ruby 1.8.X
removing new line
Merge pull request #869 from confiq/master

check-cpu.rb giving an error #812