diff options
Diffstat (limited to 'perl-install/diskdrake/interactive.pm')
-rw-r--r-- | perl-install/diskdrake/interactive.pm | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/perl-install/diskdrake/interactive.pm b/perl-install/diskdrake/interactive.pm index a30d32b45..6d482e8af 100644 --- a/perl-install/diskdrake/interactive.pm +++ b/perl-install/diskdrake/interactive.pm @@ -586,14 +586,14 @@ Remove the loopback first")), return 1; } } sub Mount_point_raw_hd { - my ($in, $part, $all_hds, $propositions) = @_; + my ($in, $part, $all_hds, @propositions) = @_; - my $mntpoint = $part->{mntpoint}; + my $mntpoint = $part->{mntpoint} || shift @propositions; $in->ask_from( '', _("Where do you want to mount %s?", $part->{device}), [ { label => _("Mount point"), val => \$mntpoint, - list => [ if_($mntpoint, $mntpoint), '', @$propositions ], + list => [ if_($mntpoint, $mntpoint), '', @propositions ], not_edit => 0 } ], complete => sub { $part->{mntpoint} eq $mntpoint || check_mntpoint($in, $mntpoint, {}, $part, $all_hds) or return 1; |