diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2000-04-18 14:38:41 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2000-04-18 14:38:41 +0000 |
commit | 55d44a1b5c6e4d2f45d365fe7680aa619c831506 (patch) | |
tree | 79acc6af53dc612896b99f3e218569c5ca9892f6 /perl-install/install2.pm | |
parent | 9e8dbe6e3b60bfd65346d5fa6c11b4723599aebb (diff) | |
download | drakx-55d44a1b5c6e4d2f45d365fe7680aa619c831506.tar drakx-55d44a1b5c6e4d2f45d365fe7680aa619c831506.tar.gz drakx-55d44a1b5c6e4d2f45d365fe7680aa619c831506.tar.bz2 drakx-55d44a1b5c6e4d2f45d365fe7680aa619c831506.tar.xz drakx-55d44a1b5c6e4d2f45d365fe7680aa619c831506.zip |
no_comment
Diffstat (limited to 'perl-install/install2.pm')
-rw-r--r-- | perl-install/install2.pm | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/perl-install/install2.pm b/perl-install/install2.pm index 8bd94c67b..3f9414a78 100644 --- a/perl-install/install2.pm +++ b/perl-install/install2.pm @@ -491,12 +491,12 @@ sub exitInstall { $o->exitInstall(getNextStep() eq "exitInstall") } #-###################################################################################### sub main { $SIG{__DIE__} = sub { chomp(my $err = $_[0]); log::l("warning: $err") }; -# $SIG{SEGV} = sub { my $msg = "segmentation fault: seems like memory is missing as the install crashes"; print "$msg\n"; log::l($msg); -# $o->ask_warn('', $msg); -# setVirtual(1); -# require install_steps_auto_install; -# install_steps_auto_install::errorInStep(); -# }; + $SIG{SEGV} = sub { my $msg = "segmentation fault: seems like memory is missing as the install crashes"; print "$msg\n"; log::l($msg); + $o->ask_warn('', $msg); + setVirtual(1); + require install_steps_auto_install; + install_steps_auto_install::errorInStep(); + }; $ENV{SHARE_PATH} ||= "/usr/share"; $ENV{DURING_INSTALL} = 1; |