summaryrefslogtreecommitdiffstats
path: root/borg-restore.pl
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xinu.at>2017-01-09 00:32:58 +0100
committerFlorian Pritz <bluewind@xinu.at>2017-01-09 00:32:58 +0100
commit514182ebafd722dfa70764b6c13aad710f3d93d3 (patch)
tree85d473bf636e085ae7798adf92a0210e5103331f /borg-restore.pl
parent2b3aa0ef366bc56051b1b59ae3348ff1799e3e68 (diff)
downloadbin-514182ebafd722dfa70764b6c13aad710f3d93d3.tar.gz
bin-514182ebafd722dfa70764b6c13aad710f3d93d3.tar.xz
borg-restore.pl: Fix undefined variable
Signed-off-by: Florian Pritz <bluewind@xinu.at>
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);