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 49b99ac..b9c1e6c 100644
--- a/lib/App/BorgRestore/DB.pm
+++ b/lib/App/BorgRestore/DB.pm
@@ -14,7 +14,7 @@ method new($class: $db_path, $cache_size) {
bless $self, $class;
if (! -f $db_path) {
- my $db = $self->open_db($db_path, $cache_size);
+ my $db = $self->_open_db($db_path, $cache_size);
$self->{db}->initialize_db();
} else {
$self->_open_db($db_path, $cache_size);