summaryrefslogtreecommitdiffstats
path: root/perl-install/standalone/drakconnect
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2004-02-20 16:47:17 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2004-02-20 16:47:17 +0000
commit4c03e671c6fb5a506f8076d8b2f99fa75104df16 (patch)
tree8968504b9c6aa9f7c19d41aa32e58bb71ea4774b /perl-install/standalone/drakconnect
parent6649f7e8b8036b15ef44587b0fb276ec3a0f6041 (diff)
downloaddrakx-4c03e671c6fb5a506f8076d8b2f99fa75104df16.tar
drakx-4c03e671c6fb5a506f8076d8b2f99fa75104df16.tar.gz
drakx-4c03e671c6fb5a506f8076d8b2f99fa75104df16.tar.bz2
drakx-4c03e671c6fb5a506f8076d8b2f99fa75104df16.tar.xz
drakx-4c03e671c6fb5a506f8076d8b2f99fa75104df16.zip
(add_intf) no need to handle errors, it's done by callee now in order to share
exception handling with installer
Diffstat (limited to 'perl-install/standalone/drakconnect')
-rwxr-xr-xperl-install/standalone/drakconnect6
1 files changed, 1 insertions, 5 deletions
diff --git a/perl-install/standalone/drakconnect b/perl-install/standalone/drakconnect
index e6f276624..b43156902 100755
--- a/perl-install/standalone/drakconnect
+++ b/perl-install/standalone/drakconnect
@@ -581,11 +581,7 @@ sub add_intf() {
$::isWizard = 1;
network::netconnect::load_conf($netcnx, $netc, $intf);
# network::netconnect::add_interface($in, $netcnx);
- eval { network::netconnect::main('', $netcnx, $in, $netc, undef, $intf) };
- my $err = $@;
- if ($err && $in->isa('interactive::gtk')) {
- err_dialog(N("Error"), N("An unexpected error has happened:\n%s", $err));
- }
+ network::netconnect::main('', $netcnx, $in, $netc, undef, $intf);
$in->exit(0);
}