From c2dda5abbae0ef821d2d8c93e2cf90972279f1f8 Mon Sep 17 00:00:00 2001 From: Olivier Blin Date: Tue, 3 Jan 2006 15:41:30 +0000 Subject: don't have a useless empty hash in wizards objects, use the wizards hash --- tools/draklive | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'tools') diff --git a/tools/draklive b/tools/draklive index 61c25979e..680175af6 100755 --- a/tools/draklive +++ b/tools/draklive @@ -709,9 +709,8 @@ sub copy_wizard { require interactive; require wizards; my $in = 'interactive'->vnew('su'); - my $w = wizards->new; my ($storage, $device, $format); - $w->process({ + my $w = wizards->new({ name => N("Live system copy wizard"), pages => { welcome => { @@ -758,8 +757,9 @@ sub copy_wizard { }, end => 1, }, - }, - }, $in); + } + }); + $w->process($in); } sub complete_config { -- cgit v1.2.1