diff options
author | Thierry Vignaud <tv@mageia.org> | 2013-04-18 05:34:30 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mageia.org> | 2013-04-18 05:34:30 +0000 |
commit | a1405ef0bb385952675a0d4dc898920cbae32302 (patch) | |
tree | 81e7b9dc685de1ce4bfa308949e23c19e328c164 /perl-install | |
parent | e078652748c6ed0f3a212c1aa415332a102039dd (diff) | |
download | drakx-backup-do-not-use-a1405ef0bb385952675a0d4dc898920cbae32302.tar drakx-backup-do-not-use-a1405ef0bb385952675a0d4dc898920cbae32302.tar.gz drakx-backup-do-not-use-a1405ef0bb385952675a0d4dc898920cbae32302.tar.bz2 drakx-backup-do-not-use-a1405ef0bb385952675a0d4dc898920cbae32302.tar.xz drakx-backup-do-not-use-a1405ef0bb385952675a0d4dc898920cbae32302.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.pm | 2 |
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!^/!) { |