summaryrefslogtreecommitdiffstats
path: root/script
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xinu.at>2017-04-01 20:25:22 +0200
committerFlorian Pritz <bluewind@xinu.at>2017-04-01 20:25:22 +0200
commitbff19bb1462e401abf6a00dae8bb501b9992f5b6 (patch)
treed4615381cfa18f2f2784bf011c1eb6b5a6a5554d /script
parentb83c55e97fa95713f66198c42577c284036ecefa (diff)
downloadApp-BorgRestore-bff19bb1462e401abf6a00dae8bb501b9992f5b6.tar.gz
App-BorgRestore-bff19bb1462e401abf6a00dae8bb501b9992f5b6.tar.xz
fixup! Do not pass $opts to main class
Diffstat (limited to 'script')
-rwxr-xr-xscript/borg-restore.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/script/borg-restore.pl b/script/borg-restore.pl
index a848362..32eba63 100755
--- a/script/borg-restore.pl
+++ b/script/borg-restore.pl
@@ -213,7 +213,7 @@ sub main {
Log::Any::Adapter->set('Stderr', log_level => "debug");
}
- $app = App::BorgRestore->new(\%opts);
+ $app = App::BorgRestore->new();
if ($opts{"update-cache"}) {
$app->update_cache();