summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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