diff options
author | Thierry Vignaud <tv@mandriva.org> | 2007-08-02 06:17:11 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2007-08-02 06:17:11 +0000 |
commit | 9e14915c1405a7e14302557e3347cc26a7f793fa (patch) | |
tree | 1f4268c672036a808d3c35d7555d2f7db89e1e5b | |
parent | ee38c06bcfe51a4c765a9a70da15319c1f12a065 (diff) | |
download | drakx-9e14915c1405a7e14302557e3347cc26a7f793fa.tar drakx-9e14915c1405a7e14302557e3347cc26a7f793fa.tar.gz drakx-9e14915c1405a7e14302557e3347cc26a7f793fa.tar.bz2 drakx-9e14915c1405a7e14302557e3347cc26a7f793fa.tar.xz drakx-9e14915c1405a7e14302557e3347cc26a7f793fa.zip |
(bug_handler) do not fsck up exceptions in eval { }
-rw-r--r-- | perl-install/NEWS | 3 | ||||
-rw-r--r-- | perl-install/standalone.pm | 1 |
2 files changed, 4 insertions, 0 deletions
diff --git a/perl-install/NEWS b/perl-install/NEWS index 78de7520f..c8fffb6a3 100644 --- a/perl-install/NEWS +++ b/perl-install/NEWS @@ -1,3 +1,6 @@ +- drakbug: + o do not fire on exceptions in eval { } + Version 10.4.152 - 01 August 2007, by Thierry Vignaud - drakbug: diff --git a/perl-install/standalone.pm b/perl-install/standalone.pm index cbebe70c3..4de0474fb 100644 --- a/perl-install/standalone.pm +++ b/perl-install/standalone.pm @@ -186,6 +186,7 @@ our @drakx_modules = qw(Xconfig::card Xconfig::default Xconfig::main Xconfig::mo sub bug_handler { my ($error) = @_; + return if $error && $^S; my $progname = $0; $progname =~ s|.*/||; exec('drakbug', if_($error, '--error', $error), '--incident', $progname,); |