summaryrefslogtreecommitdiffstats
path: root/perl-install/network
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2003-11-28 15:23:39 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2003-11-28 15:23:39 +0000
commit04c6ff92abcab16e838b2632e249b384d4bdc1fd (patch)
treedca13a0fb616384443fbe5b2f548ad39f2f4e783 /perl-install/network
parentf22ed2664faf5417bd1b4d40c25d7dbbc996866e (diff)
downloaddrakx-backup-do-not-use-04c6ff92abcab16e838b2632e249b384d4bdc1fd.tar
drakx-backup-do-not-use-04c6ff92abcab16e838b2632e249b384d4bdc1fd.tar.gz
drakx-backup-do-not-use-04c6ff92abcab16e838b2632e249b384d4bdc1fd.tar.bz2
drakx-backup-do-not-use-04c6ff92abcab16e838b2632e249b384d4bdc1fd.tar.xz
drakx-backup-do-not-use-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')
-rw-r--r--perl-install/network/netconnect.pm4
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}};