summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xinu.at>2017-04-11 11:38:12 +0200
committerFlorian Pritz <bluewind@xinu.at>2017-04-11 11:38:12 +0200
commit68563a1458910561827823924b20b2439457ca85 (patch)
tree0dd106e3e4ca350caef75d13177203639afc9246 /lib
parent53c1c9b767096340a34387536b066d62ea5f40d8 (diff)
downloadApp-BorgRestore-68563a1458910561827823924b20b2439457ca85.tar.gz
App-BorgRestore-68563a1458910561827823924b20b2439457ca85.tar.xz
DB: Fix opening of missing db
Signed-off-by: Florian Pritz <bluewind@xinu.at>
Diffstat (limited to 'lib')
-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);