summaryrefslogtreecommitdiffstats
path: root/tools
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 /tools
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 'tools')
-rwxr-xr-xtools/draklive8
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 {