Skip to content

Commit

Permalink
capitalization derp
Browse files Browse the repository at this point in the history
  • Loading branch information
lamont-granquist committed Jan 15, 2014
1 parent e0c6d2d commit 267e1e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/ohai/plugins/uptime.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 267e1e8

Please sign in to comment.