From 514182ebafd722dfa70764b6c13aad710f3d93d3 Mon Sep 17 00:00:00 2001 From: Florian Pritz Date: Mon, 9 Jan 2017 00:32:58 +0100 Subject: borg-restore.pl: Fix undefined variable Signed-off-by: Florian Pritz --- borg-restore.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'borg-restore.pl') 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); -- cgit v1.2.3-24-g4f1b