summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xinu.at>2017-01-09 00:41:14 +0100
committerFlorian Pritz <bluewind@xinu.at>2017-01-09 00:41:14 +0100
commitb4af56d0a726803cf17b73529646770a5afa89f3 (patch)
tree06d9a56bac086d99555a94a35c0d8d9ffa96c179
parent514182ebafd722dfa70764b6c13aad710f3d93d3 (diff)
downloadbin-b4af56d0a726803cf17b73529646770a5afa89f3.tar.gz
bin-b4af56d0a726803cf17b73529646770a5afa89f3.tar.xz
borg-restore.pl: Fix time output format
Signed-off-by: Florian Pritz <bluewind@xinu.at>
-rwxr-xr-xborg-restore.pl2
1 files changed, 1 insertions, 1 deletions
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);