diff options
author | Andinus <andinus@nand.sh> | 2020-06-15 23:38:37 +0530 |
---|---|---|
committer | Andinus <andinus@nand.sh> | 2020-06-15 23:38:37 +0530 |
commit | 9833a1ec1536d83d9f845061439f5a53df878945 (patch) | |
tree | 454a82cf57d4d8c0cd62b8266e3611f4ee0e76f1 | |
parent | 58f743321c56c312e835f51a6eee118c11d4cf4c (diff) | |
download | ara-9833a1ec1536d83d9f845061439f5a53df878945.tar.gz |
Remove $SIG{__DIE__}
<haarg> notandinus: __DIE__ handlers get called even for errors that are trapped by an eval
-rwxr-xr-x | ara.pl | 1 |
1 files changed, 0 insertions, 1 deletions
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 |