Browse files

capitalization derp

  • Loading branch information...
1 parent e0c6d2d commit 267e1e8b0df816f747c3723635d9992e9a93a835 @lamont-granquist lamont-granquist committed Jan 15, 2014
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/ohai/plugins/uptime.rb
View
2 lib/ohai/plugins/uptime.rb
@@ -87,7 +87,7 @@ def collect_uptime(path)
# unix:0:system_misc:boot_time 1343860543
so.stdout.lines do |line|
if line =~ /unix:0:system_misc:boot_time\s+(\d+)/
- uptime_Seconds Time.new.to_i - $1.to_i
+ uptime_seconds Time.new.to_i - $1.to_i
uptime seconds_to_human(uptime_seconds)
end
end

0 comments on commit 267e1e8

Please sign in to comment.