diff options
-rwxr-xr-x | script/borg-restore.pl | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/script/borg-restore.pl b/script/borg-restore.pl index 4d6cc0d..e79b174 100755 --- a/script/borg-restore.pl +++ b/script/borg-restore.pl @@ -227,7 +227,8 @@ sub main { return if($^S); local $Log::Log4perl::caller_depth = $Log::Log4perl::caller_depth + 1; - Log::Log4perl->get_logger()->logdie(@_); + Log::Log4perl->get_logger()->fatal(@_); + exit(2); }; my %opts; |