summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mageia.org>2012-05-23 18:28:26 +0000
committerThierry Vignaud <tv@mageia.org>2012-05-23 18:28:26 +0000
commit0c05e1139c2c2cdeab8856dfb8f5f282627eee64 (patch)
tree70e9063b95637275550438af1e4c2a08a20b21d9
parenta2164f535fbeef5e5e197f81bf897423d43349b1 (diff)
downloaddrakx-0c05e1139c2c2cdeab8856dfb8f5f282627eee64.tar
drakx-0c05e1139c2c2cdeab8856dfb8f5f282627eee64.tar.gz
drakx-0c05e1139c2c2cdeab8856dfb8f5f282627eee64.tar.bz2
drakx-0c05e1139c2c2cdeab8856dfb8f5f282627eee64.tar.xz
drakx-0c05e1139c2c2cdeab8856dfb8f5f282627eee64.zip
explain
-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};