summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--perl-install/fs.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/fs.pm b/perl-install/fs.pm
index 6a6b403d0..8d3d37ad8 100644
--- a/perl-install/fs.pm
+++ b/perl-install/fs.pm
@@ -532,7 +532,7 @@ sub set_removable_mntpoints {
sub get_raw_hds {
my ($prefix, $all_hds) = @_;
- $all_hds->{raw_hds} = [ detect_devices::removables() ];
+ push @{$all_hds->{raw_hds}}, detect_devices::removables();
get_major_minor(@{$all_hds->{raw_hds}});
my @fstab = read_fstab($prefix, "/etc/fstab", 'keep_freq_passno');