summaryrefslogtreecommitdiffstats
path: root/lib/App
diff options
context:
space:
mode:
Diffstat (limited to 'lib/App')
-rw-r--r--lib/App/BorgRestore/DB.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/App/BorgRestore/DB.pm b/lib/App/BorgRestore/DB.pm
index b9c1e6c..99d7567 100644
--- a/lib/App/BorgRestore/DB.pm
+++ b/lib/App/BorgRestore/DB.pm
@@ -15,7 +15,7 @@ method new($class: $db_path, $cache_size) {
if (! -f $db_path) {
my $db = $self->_open_db($db_path, $cache_size);
- $self->{db}->initialize_db();
+ $self->initialize_db();
} else {
$self->_open_db($db_path, $cache_size);
}