From 072d70857d90ccde2bebb2840fde611994478f37 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Carlos=20Mart=C3=ADn?= Date: Tue, 22 Apr 2014 16:26:54 +0200 Subject: [PATCH] Bug #2586: fsck time formatting --- src/onedb/onedb.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/onedb/onedb.rb b/src/onedb/onedb.rb index 8e7c88df6a..d3b84b015f 100644 --- a/src/onedb/onedb.rb +++ b/src/onedb/onedb.rb @@ -281,7 +281,7 @@ class OneDB time1 = Time.now - puts " > Total time: #{time1 - time0}s" if ops[:verbose] + puts " > Total time: #{"%0.02f" % (time1 - time0).to_s}s" if ops[:verbose] return 0 rescue Exception => e