From 68563a1458910561827823924b20b2439457ca85 Mon Sep 17 00:00:00 2001 From: Florian Pritz Date: Tue, 11 Apr 2017 11:38:12 +0200 Subject: DB: Fix opening of missing db Signed-off-by: Florian Pritz --- lib/App/BorgRestore/DB.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/App/BorgRestore') 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); -- cgit v1.2.3-24-g4f1b