summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
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 e8f1ce3..0c6c057 100644
--- a/lib/App/BorgRestore/DB.pm
+++ b/lib/App/BorgRestore/DB.pm
@@ -35,7 +35,7 @@ method new($class: $db_path, $cache_size) {
# ensure the cache directory exists
path($db_path)->parent->mkpath({mode => oct(700)});
- my $db = $self->_open_db($db_path);
+ $self->_open_db($db_path);
$self->initialize_db();
} else {
$self->_open_db($db_path);