summaryrefslogtreecommitdiffstats
path: root/rescue/guessmounts
diff options
context:
space:
mode:
Diffstat (limited to 'rescue/guessmounts')
-rwxr-xr-xrescue/guessmounts1
1 files changed, 1 insertions, 0 deletions
diff --git a/rescue/guessmounts b/rescue/guessmounts
index f94dc09ea..0f5da6e48 100755
--- a/rescue/guessmounts
+++ b/rescue/guessmounts
@@ -78,6 +78,7 @@ my ($root, $fs, @fstab);
# Try Mageia first:
if (@roots) {
+ # Then pick mga over mdv:
@roots = map { @$_ } partition { $_->{release} =~ /Mageia/ } @roots;
my $selected = first(@roots);
$root = $selected->{dev};