summaryrefslogtreecommitdiffstats
path: root/borg-restore.pl
diff options
context:
space:
mode:
Diffstat (limited to 'borg-restore.pl')
-rwxr-xr-xborg-restore.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/borg-restore.pl b/borg-restore.pl
index 5a46ee7..2301ed9 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", $end - $start));
+ debug(sprintf("Finished parsing borg output after %d. Adding to db", Time::HiRes::gettimeofday - $start));
$db->begin_work;
$db->add_archive_name($archive);