From b4af56d0a726803cf17b73529646770a5afa89f3 Mon Sep 17 00:00:00 2001 From: Florian Pritz Date: Mon, 9 Jan 2017 00:41:14 +0100 Subject: borg-restore.pl: Fix time output format Signed-off-by: Florian Pritz --- borg-restore.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/borg-restore.pl b/borg-restore.pl index 2301ed9..e5abf3a 100755 --- a/borg-restore.pl +++ b/borg-restore.pl @@ -410,7 +410,7 @@ sub handle_added_archives { } $proc->finish() or die "borg list returned $?"; - debug(sprintf("Finished parsing borg output after %d. Adding to db", Time::HiRes::gettimeofday - $start)); + debug(sprintf("Finished parsing borg output after %.5fs. Adding to db", Time::HiRes::gettimeofday - $start)); $db->begin_work; $db->add_archive_name($archive); -- cgit v1.2.3-24-g4f1b