summaryrefslogtreecommitdiffstats
path: root/lib/App/BorgRestore/Settings.pm
diff options
context:
space:
mode:
Diffstat (limited to 'lib/App/BorgRestore/Settings.pm')
-rw-r--r--lib/App/BorgRestore/Settings.pm4
1 files changed, 0 insertions, 4 deletions
diff --git a/lib/App/BorgRestore/Settings.pm b/lib/App/BorgRestore/Settings.pm
index 26a175e..557a097 100644
--- a/lib/App/BorgRestore/Settings.pm
+++ b/lib/App/BorgRestore/Settings.pm
@@ -6,7 +6,6 @@ use warnings;
use App::BorgRestore::Helper;
use autodie;
-use File::Path qw(mkpath);
use Sys::Hostname;
=encoding utf-8
@@ -124,9 +123,6 @@ for my $configfile (@configfiles) {
}
$cache_path_base = App::BorgRestore::Helper::untaint($cache_path_base, qr/.*/);
-# ensure the cache directory exists
-mkpath(get_cache_dir(), {mode => oct(700)});
-
sub get_cache_dir {
return "$cache_path_base/v2";
}