diff options
author | Thierry Vignaud <tvignaud@mandriva.org> | 2003-11-28 15:23:39 +0000 |
---|---|---|
committer | Thierry Vignaud <tvignaud@mandriva.org> | 2003-11-28 15:23:39 +0000 |
commit | 04c6ff92abcab16e838b2632e249b384d4bdc1fd (patch) | |
tree | dca13a0fb616384443fbe5b2f548ad39f2f4e783 /perl-install/network/netconnect.pm | |
parent | f22ed2664faf5417bd1b4d40c25d7dbbc996866e (diff) | |
download | drakx-04c6ff92abcab16e838b2632e249b384d4bdc1fd.tar drakx-04c6ff92abcab16e838b2632e249b384d4bdc1fd.tar.gz drakx-04c6ff92abcab16e838b2632e249b384d4bdc1fd.tar.bz2 drakx-04c6ff92abcab16e838b2632e249b384d4bdc1fd.tar.xz drakx-04c6ff92abcab16e838b2632e249b384d4bdc1fd.zip |
(main) do not silently discard exceptions; if some exception is raised
for anything else than "wizcancel", we should rethrow it again instead
of silently ignoring bugso...
Diffstat (limited to 'perl-install/network/netconnect.pm')
-rw-r--r-- | perl-install/network/netconnect.pm | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/perl-install/network/netconnect.pm b/perl-install/network/netconnect.pm index e053481cb..2e8f1eec3 100644 --- a/perl-install/network/netconnect.pm +++ b/perl-install/network/netconnect.pm @@ -150,7 +150,9 @@ If you don't want to use the auto detection, deselect the checkbox. } } }; - $in->exit(0) if $@ =~ /wizcancel/; + if (my $err = $@) { + $err =~ /wizcancel/ ? $in->exit(0) : die $err; + } step_2_1: my $nb = keys %{$netc->{internet_cnx}}; |