diff options
author | Olivier Blin <oblin@mandriva.org> | 2006-01-03 15:41:30 +0000 |
---|---|---|
committer | Olivier Blin <oblin@mandriva.org> | 2006-01-03 15:41:30 +0000 |
commit | c2dda5abbae0ef821d2d8c93e2cf90972279f1f8 (patch) | |
tree | d309965399fedd8fdd6c09c6a74e8d21ba98a7ac /tools | |
parent | be98e2d67ccfcb58c1c114bf6054b8dcb00250b0 (diff) | |
download | drakx-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 'tools')
-rwxr-xr-x | tools/draklive | 8 |
1 files changed, 4 insertions, 4 deletions
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 { |