summaryrefslogtreecommitdiffstats
path: root/perl-install/fsedit.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2004-09-29 03:26:38 +0000
committerPascal Rigaux <pixel@mandriva.com>2004-09-29 03:26:38 +0000
commit4bbec5f4c46fee4ad7160edd35a486c10d90be42 (patch)
tree9c426708e5a1e1e98d613244ff5fee60ce7a44a5 /perl-install/fsedit.pm
parentc36ea7f3d6b5195c92633a975b28bd642f996ad9 (diff)
downloaddrakx-backup-do-not-use-4bbec5f4c46fee4ad7160edd35a486c10d90be42.tar
drakx-backup-do-not-use-4bbec5f4c46fee4ad7160edd35a486c10d90be42.tar.gz
drakx-backup-do-not-use-4bbec5f4c46fee4ad7160edd35a486c10d90be42.tar.bz2
drakx-backup-do-not-use-4bbec5f4c46fee4ad7160edd35a486c10d90be42.tar.xz
drakx-backup-do-not-use-4bbec5f4c46fee4ad7160edd35a486c10d90be42.zip
don't die when failing to open a device (to get its geometry), skip it instead
(as used to be done before partition_table::raw::get_geometries() was introduced)
Diffstat (limited to 'perl-install/fsedit.pm')
-rw-r--r--perl-install/fsedit.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/fsedit.pm b/perl-install/fsedit.pm
index c3d46d332..42404bfe8 100644
--- a/perl-install/fsedit.pm
+++ b/perl-install/fsedit.pm
@@ -109,7 +109,7 @@ sub get_hds {
$hd->{prefix} ||= $hd->{device};
}
- partition_table::raw::get_geometries(\@drives);
+ @drives = partition_table::raw::get_geometries(@drives);
my (@hds, @raw_hds);
foreach my $hd (@drives) {