diff options
author | richard mcleod <rmcleod8@bloomberg.net> | 2017-09-01 15:06:41 -0400 |
---|---|---|
committer | richard mcleod <rmcleod8@bloomberg.net> | 2017-09-01 15:06:41 -0400 |
commit | f61bde8484599a2206e9a71e60a9c83f0d4544fd (patch) | |
tree | 9c6c9d059b88141335868a4d1ae4770a5fd45278 | |
parent | 484c295cdac610eff383c02d737c116ae96afeac (diff) | |
download | ohai-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.rb | 2 |
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 |