summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlamont-granquist <lamont@scriptkiddie.org>2014-01-15 12:22:31 -0800
committerlamont-granquist <lamont@scriptkiddie.org>2014-01-15 12:22:31 -0800
commit7769246d1d2f9551cfafe2066018cce87235e840 (patch)
treebeb85d0daab85f8cf61f1c552e8125d68377cd2a
parente0c6d2de622f0e60c7181a1d9a1236a9ccdc7ea1 (diff)
parent267e1e8b0df816f747c3723635d9992e9a93a835 (diff)
downloadohai-7769246d1d2f9551cfafe2066018cce87235e840.tar.gz
Merge pull request #277 from opscode/lcg/solaris-uptime-derp
capitalization derp
-rw-r--r--lib/ohai/plugins/uptime.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ohai/plugins/uptime.rb b/lib/ohai/plugins/uptime.rb
index 4ae82d7a..31216991 100644
--- a/lib/ohai/plugins/uptime.rb
+++ b/lib/ohai/plugins/uptime.rb
@@ -87,7 +87,7 @@ Ohai.plugin(:Uptime) do
# 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