summaryrefslogtreecommitdiffstats
path: root/perl-install/standalone/drakconnect
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.org>2006-01-03 15:41:30 +0000
committerOlivier Blin <oblin@mandriva.org>2006-01-03 15:41:30 +0000
commitc2dda5abbae0ef821d2d8c93e2cf90972279f1f8 (patch)
treed309965399fedd8fdd6c09c6a74e8d21ba98a7ac /perl-install/standalone/drakconnect
parentbe98e2d67ccfcb58c1c114bf6054b8dcb00250b0 (diff)
downloaddrakx-c2dda5abbae0ef821d2d8c93e2cf90972279f1f8.tar
drakx-c2dda5abbae0ef821d2d8c93e2cf90972279f1f8.tar.gz
drakx-c2dda5abbae0ef821d2d8c93e2cf90972279f1f8.tar.bz2
drakx-c2dda5abbae0ef821d2d8c93e2cf90972279f1f8.tar.xz
drakx-c2dda5abbae0ef821d2d8c93e2cf90972279f1f8.zip
don't have a useless empty hash in wizards objects, use the wizards hash
Diffstat (limited to 'perl-install/standalone/drakconnect')
-rwxr-xr-xperl-install/standalone/drakconnect8
1 files changed, 4 insertions, 4 deletions
diff --git a/perl-install/standalone/drakconnect b/perl-install/standalone/drakconnect
index bd04c475b..64b300e6b 100755
--- a/perl-install/standalone/drakconnect
+++ b/perl-install/standalone/drakconnect
@@ -702,7 +702,8 @@ sub del_intf() {
}
@all_cards = network::ethernet::get_eth_cards($modules_conf);
my %ethernet_names = network::ethernet::get_eth_cards_names(@all_cards);
- my $wiz =
+ require wizards;
+ my $wiz = wizards->new(
{
defaultimage => "drakconnect.png",
name => N("Remove a network interface"),
@@ -747,9 +748,8 @@ sub del_intf() {
end => 1,
},
},
- };
- require wizards;
- wizards->new->safe_process($wiz, $in);
+ });
+ $wiz->safe_process($in);
$in->exit(0);
}