From 9833a1ec1536d83d9f845061439f5a53df878945 Mon Sep 17 00:00:00 2001 From: Andinus Date: Mon, 15 Jun 2020 23:38:37 +0530 Subject: Remove $SIG{__DIE__} notandinus: __DIE__ handlers get called even for errors that are trapped by an eval --- ara.pl | 1 - 1 file changed, 1 deletion(-) diff --git a/ara.pl b/ara.pl index 61ab9fb..569befa 100755 --- a/ara.pl +++ b/ara.pl @@ -12,7 +12,6 @@ use JSON::MaybeXS qw( decode_json ); use Term::ANSIColor qw( :pushpop colored ); local $SIG{__WARN__} = sub { print colored( $_[0], 'yellow' ); }; -local $SIG{__DIE__} = sub { print colored( $_[0], 'red' ); exit 255; }; use constant is_OpenBSD => $^O eq "openbsd"; require OpenBSD::Unveil -- cgit 1.4.1-2-gfad0