summaryrefslogtreecommitdiffstats
path: root/perl-install/fs
diff options
context:
space:
mode:
authorPascal Terjan <pterjan@mageia.org>2012-03-24 19:31:01 +0000
committerPascal Terjan <pterjan@mageia.org>2012-03-24 19:31:01 +0000
commitd504f82c9872a6cbf0d7cee5cf89f5a98c4a409a (patch)
tree0f2bb348d3ba5c9bdf8c6535abf0b06d5ee0a408 /perl-install/fs
parent8909206f729c9c82e6eab34245a55b137fcd5375 (diff)
downloaddrakx-backup-do-not-use-d504f82c9872a6cbf0d7cee5cf89f5a98c4a409a.tar
drakx-backup-do-not-use-d504f82c9872a6cbf0d7cee5cf89f5a98c4a409a.tar.gz
drakx-backup-do-not-use-d504f82c9872a6cbf0d7cee5cf89f5a98c4a409a.tar.bz2
drakx-backup-do-not-use-d504f82c9872a6cbf0d7cee5cf89f5a98c4a409a.tar.xz
drakx-backup-do-not-use-d504f82c9872a6cbf0d7cee5cf89f5a98c4a409a.zip
Fix usage of raid2kind
Diffstat (limited to 'perl-install/fs')
-rw-r--r--perl-install/fs/partitioning_wizard.pm3
1 files changed, 1 insertions, 2 deletions
diff --git a/perl-install/fs/partitioning_wizard.pm b/perl-install/fs/partitioning_wizard.pm
index 0b464da1c..5131c9a42 100644
--- a/perl-install/fs/partitioning_wizard.pm
+++ b/perl-install/fs/partitioning_wizard.pm
@@ -504,8 +504,7 @@ sub main {
my $mainbox = Gtk2::VBox->new;
my @kinds = map { diskdrake::hd_gtk::hd2kind($_) } sort { $a->{is_removable} <=> $b->{is_removable} } @{ $all_hds->{hds} };
- # FIXME: raid2kind() doesn't take any arg:
- push @kinds, map { diskdrake::hd_gtk::raid2kind($_) } @{$all_hds->{raids}};
+ push @kinds, diskdrake::hd_gtk::raid2kind() if @{$all_hds->{raids}};
push @kinds, map { diskdrake::hd_gtk::lvm2kind($_) } @{$all_hds->{lvms}};
my $hdchoice = Gtk2::HBox->new;