From 27320b7508018e0ff40ddf5a81a2d1baf885fb18 Mon Sep 17 00:00:00 2001 From: Florian Pritz Date: Mon, 25 Sep 2017 11:08:51 +0200 Subject: Add missing autodie to packages Signed-off-by: Florian Pritz --- lib/App/BorgRestore/Borg.pm | 1 + lib/App/BorgRestore/DB.pm | 1 + lib/App/BorgRestore/Helper.pm | 1 + lib/App/BorgRestore/Settings.pm | 1 + 4 files changed, 4 insertions(+) diff --git a/lib/App/BorgRestore/Borg.pm b/lib/App/BorgRestore/Borg.pm index 24d77c8..4dc1055 100644 --- a/lib/App/BorgRestore/Borg.pm +++ b/lib/App/BorgRestore/Borg.pm @@ -5,6 +5,7 @@ use strict; use App::BorgRestore::Helper; +use autodie; use Function::Parameters; use IPC::Run qw(run start new_chunker); use Log::Any qw($log); diff --git a/lib/App/BorgRestore/DB.pm b/lib/App/BorgRestore/DB.pm index e918677..35975d6 100644 --- a/lib/App/BorgRestore/DB.pm +++ b/lib/App/BorgRestore/DB.pm @@ -5,6 +5,7 @@ use warnings; use App::BorgRestore::Helper; +use autodie; use DBI; use Function::Parameters; use Log::Any qw($log); diff --git a/lib/App/BorgRestore/Helper.pm b/lib/App/BorgRestore/Helper.pm index a89751a..7e80218 100644 --- a/lib/App/BorgRestore/Helper.pm +++ b/lib/App/BorgRestore/Helper.pm @@ -3,6 +3,7 @@ use v5.14; use strict; use warnings; +use autodie; use Function::Parameters; use POSIX (); diff --git a/lib/App/BorgRestore/Settings.pm b/lib/App/BorgRestore/Settings.pm index 45d2f82..0e071b7 100644 --- a/lib/App/BorgRestore/Settings.pm +++ b/lib/App/BorgRestore/Settings.pm @@ -5,6 +5,7 @@ use warnings; use App::BorgRestore::Helper; +use autodie; use File::Path qw(mkpath); use Sys::Hostname; -- cgit v1.2.3-24-g4f1b