summaryrefslogtreecommitdiffstats
path: root/perl-install/fs.pm
diff options
context:
space:
mode:
authorMartin Whitaker <mageia@martin-whitaker.me.uk>2017-11-27 10:20:34 +0000
committerThomas Backlund <tmb@mageia.org>2018-01-09 23:15:55 +0200
commiteb497cece2871e59a2f981602e44f303826ffeab (patch)
tree1ac105adb906a5f9bf0267067f3b5ff00fbbf1f8 /perl-install/fs.pm
parent4d96d7a4c32186d7597f2f8f6f75eb1d8c9bf181 (diff)
downloaddrakx-eb497cece2871e59a2f981602e44f303826ffeab.tar
drakx-eb497cece2871e59a2f981602e44f303826ffeab.tar.gz
drakx-eb497cece2871e59a2f981602e44f303826ffeab.tar.bz2
drakx-eb497cece2871e59a2f981602e44f303826ffeab.tar.xz
drakx-eb497cece2871e59a2f981602e44f303826ffeab.zip
Make fs::get_major_minor() unconditionally read the device numbers.
Thus ensuring we get the correct device numbers after writing a partition table (mga#22032).
Diffstat (limited to 'perl-install/fs.pm')
-rw-r--r--perl-install/fs.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/fs.pm b/perl-install/fs.pm
index ac118cdc0..76cce10e7 100644
--- a/perl-install/fs.pm
+++ b/perl-install/fs.pm
@@ -144,7 +144,7 @@ sub get_major_minor {
eval {
my (undef, $major, $minor) = devices::entry($_->{device});
($_->{major}, $_->{minor}) = ($major, $minor);
- } if !$_->{major};
+ };
}
}