From bff19bb1462e401abf6a00dae8bb501b9992f5b6 Mon Sep 17 00:00:00 2001 From: Florian Pritz Date: Sat, 1 Apr 2017 20:25:22 +0200 Subject: fixup! Do not pass $opts to main class --- script/borg-restore.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'script') 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(); -- cgit v1.2.3-24-g4f1b