diff options
author | Martin Whitaker <mageia@martin-whitaker.me.uk> | 2017-11-27 10:20:34 +0000 |
---|---|---|
committer | Thomas Backlund <tmb@mageia.org> | 2018-01-09 23:15:55 +0200 |
commit | eb497cece2871e59a2f981602e44f303826ffeab (patch) | |
tree | 1ac105adb906a5f9bf0267067f3b5ff00fbbf1f8 /perl-install/fs.pm | |
parent | 4d96d7a4c32186d7597f2f8f6f75eb1d8c9bf181 (diff) | |
download | drakx-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.pm | 2 |
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}; + }; } } |