diff options
author | Florian Pritz <bluewind@xinu.at> | 2017-04-11 11:38:12 +0200 |
---|---|---|
committer | Florian Pritz <bluewind@xinu.at> | 2017-04-11 11:38:12 +0200 |
commit | 68563a1458910561827823924b20b2439457ca85 (patch) | |
tree | 0dd106e3e4ca350caef75d13177203639afc9246 | |
parent | 53c1c9b767096340a34387536b066d62ea5f40d8 (diff) | |
download | App-BorgRestore-68563a1458910561827823924b20b2439457ca85.tar.gz App-BorgRestore-68563a1458910561827823924b20b2439457ca85.tar.xz |
DB: Fix opening of missing db
Signed-off-by: Florian Pritz <bluewind@xinu.at>
-rw-r--r-- | lib/App/BorgRestore/DB.pm | 2 |
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); |