summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mageia.org>2013-04-18 05:34:30 +0000
committerThierry Vignaud <tv@mageia.org>2013-04-18 05:34:30 +0000
commit918f20f64f3800acf7152370211d30a176332db5 (patch)
tree81e7b9dc685de1ce4bfa308949e23c19e328c164 /perl-install
parent04d98781ffaed87b66c67b16bae9983056bfdbf6 (diff)
downloaddrakx-918f20f64f3800acf7152370211d30a176332db5.tar
drakx-918f20f64f3800acf7152370211d30a176332db5.tar.gz
drakx-918f20f64f3800acf7152370211d30a176332db5.tar.bz2
drakx-918f20f64f3800acf7152370211d30a176332db5.tar.xz
drakx-918f20f64f3800acf7152370211d30a176332db5.zip
(to_subpart) fix reading link if not a mapper device
condition got inverted in commit r3694 on Mar 23 2012 ("perl_checker cleanups") spot by Colin
Diffstat (limited to 'perl-install')
-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 a1bf98c50..fabf747c4 100644
--- a/perl-install/fs/wild_device.pm
+++ b/perl-install/fs/wild_device.pm
@@ -44,7 +44,7 @@ sub to_subpart {
($part{major}, $part{minor}) = unmakedev($rdev);
}
- my $symlink = $dev =~ m!mapper/! ? readlink("$::prefix$dev") : undef;
+ my $symlink = $dev !~ m!mapper/! ? readlink("$::prefix$dev") : undef;
$dev =~ s!/u?dev/!!;
if ($symlink && $symlink !~ m!^/!) {