summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrichard mcleod <rmcleod8@bloomberg.net>2017-09-01 15:06:41 -0400
committerrichard mcleod <rmcleod8@bloomberg.net>2017-09-01 15:06:41 -0400
commitf61bde8484599a2206e9a71e60a9c83f0d4544fd (patch)
tree9c6c9d059b88141335868a4d1ae4770a5fd45278
parent484c295cdac610eff383c02d737c116ae96afeac (diff)
downloadohai-f61bde8484599a2206e9a71e60a9c83f0d4544fd.tar.gz
whitespace is the bane of my existence
Signed-off-by: richard mcleod <rmcleod8@bloomberg.net>
-rw-r--r--lib/ohai/plugins/aix/uptime.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ohai/plugins/aix/uptime.rb b/lib/ohai/plugins/aix/uptime.rb
index 85a7e678..8adc78d0 100644
--- a/lib/ohai/plugins/aix/uptime.rb
+++ b/lib/ohai/plugins/aix/uptime.rb
@@ -45,7 +45,7 @@ Ohai.plugin(:Uptime) do
(m, s) = so.split(/[:]/)
end
elapsed_seconds = ((d.to_i * 86400) + (h.to_i * 3600) + (m.to_i * 60) + s.to_i)
-
+
uptime_seconds Time.now.to_i - elapsed_seconds
uptime seconds_to_human(elapsed_seconds)
end