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 | 918f20f64f3800acf7152370211d30a176332db5 (patch) | |
tree | 81e7b9dc685de1ce4bfa308949e23c19e328c164 /perl-install/fs | |
parent | 04d98781ffaed87b66c67b16bae9983056bfdbf6 (diff) | |
download | drakx-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/fs')
-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!^/!) { |