summaryrefslogtreecommitdiffstats
path: root/lib/App
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xinu.at>2017-04-11 11:41:47 +0200
committerFlorian Pritz <bluewind@xinu.at>2017-04-11 11:41:47 +0200
commit511041a2b76cea1f82686e221f28ce916e73ab4f (patch)
tree6c792413ebacda2eebd53d39f11a010d2506a154 /lib/App
parent68563a1458910561827823924b20b2439457ca85 (diff)
downloadApp-BorgRestore-511041a2b76cea1f82686e221f28ce916e73ab4f.tar.gz
App-BorgRestore-511041a2b76cea1f82686e221f28ce916e73ab4f.tar.xz
DB: Fix broken db initialization
Signed-off-by: Florian Pritz <bluewind@xinu.at>
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);
}