Browse code

FIX: type conversion

Cinan Rakosnik authored on 16/12/2012 at 02:16:38
Showing 1 changed files
... ...
@@ -18,7 +18,7 @@ module Rubysermon
18 18
 		end
19 19
 
20 20
 		def results
21
-			@cpu_load = File.read("/proc/loadavg").split(" ").first.to_s
21
+			@cpu_load = File.read("/proc/loadavg").split(" ").first.to_i
22 22
 		end
23 23
 
24 24
 		def notify?