From 4c03e671c6fb5a506f8076d8b2f99fa75104df16 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Fri, 20 Feb 2004 16:47:17 +0000 Subject: (add_intf) no need to handle errors, it's done by callee now in order to share exception handling with installer --- perl-install/standalone/drakconnect | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'perl-install/standalone/drakconnect') 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); } -- cgit v1.2.1