summaryrefslogtreecommitdiffstats
path: root/perl-install/pkgs.pm
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/pkgs.pm')
-rw-r--r--perl-install/pkgs.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/perl-install/pkgs.pm b/perl-install/pkgs.pm
index e07bdbd14..19c60f0ed 100644
--- a/perl-install/pkgs.pm
+++ b/perl-install/pkgs.pm
@@ -943,6 +943,7 @@ sub install($$$;$$) {
$error_msg and die $error_msg;
} else {
#- child process will run each transaction.
+ $SIG{SEGV} = sub { print OUTPUT "die:crashed\n"; c::_exit(0) };
eval {
close INPUT;
select((select(OUTPUT), $| = 1)[0]);