summaryrefslogtreecommitdiffstats
path: root/perl-install/fs/wild_device.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2007-09-14 10:30:39 +0000
committerPascal Rigaux <pixel@mandriva.com>2007-09-14 10:30:39 +0000
commit05a4b46180cb776d2940a562d34eeb85de9c19ee (patch)
tree133e3f7c78d6dc65152ae3df70b8fe39ef8dbfe3 /perl-install/fs/wild_device.pm
parentdc2e5d25c2ef9793f58ac22188ab5ab9fca25c11 (diff)
downloaddrakx-05a4b46180cb776d2940a562d34eeb85de9c19ee.tar
drakx-05a4b46180cb776d2940a562d34eeb85de9c19ee.tar.gz
drakx-05a4b46180cb776d2940a562d34eeb85de9c19ee.tar.bz2
drakx-05a4b46180cb776d2940a562d34eeb85de9c19ee.tar.xz
drakx-05a4b46180cb776d2940a562d34eeb85de9c19ee.zip
o fix typo breaking reading fstab with UUID= entries
Diffstat (limited to 'perl-install/fs/wild_device.pm')
-rw-r--r--perl-install/fs/wild_device.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/fs/wild_device.pm b/perl-install/fs/wild_device.pm
index 206428402..5d6ea5e86 100644
--- a/perl-install/fs/wild_device.pm
+++ b/perl-install/fs/wild_device.pm
@@ -36,7 +36,7 @@ sub to_subpart {
if (my ($kind, $val) = analyze($dev)) {
if ($kind eq 'label') {
$part->{device_LABEL} = $val;
- } elsif ($kind eq 'label') {
+ } elsif ($kind eq 'uuid') {
$part->{device_UUID} = $val;
} elsif ($kind eq 'dev') {
my %part = (faked_device => 0);