summaryrefslogtreecommitdiffstats
path: root/rescue/bin/guessmounts
diff options
context:
space:
mode:
Diffstat (limited to 'rescue/bin/guessmounts')
-rwxr-xr-xrescue/bin/guessmounts4
1 files changed, 2 insertions, 2 deletions
diff --git a/rescue/bin/guessmounts b/rescue/bin/guessmounts
index a4d1fa7f7..683e47c70 100755
--- a/rescue/bin/guessmounts
+++ b/rescue/bin/guessmounts
@@ -67,12 +67,12 @@ foreach (@$normal_parts) {
system("mount -t $fs $dev $target 2>/dev/null");
if (my $release_file = common::release_file($target)) {
- my $release = chomp_(cat_("$target$release_file"));
- print STDERR "=> found a $release root partition on $dev\n=> type $fs, version `\n";
my @fstab = fs::read_fstab($target, '/etc/fstab');
my $h = common::parse_release_file($target, $release_file, $_);
add2hash($h, { dev => $dev, fs => $fs, fstab => \@fstab,
pretty_name => "$h->{release} $h->{version} $h->{arch} on $dev" });
+ my $release = chomp_(cat_("$target$release_file"));
+ printf STDERR "=> found a %s root partition on $dev\n=> type $fs, version `$release'\n", $h->{release};
# Offer to rescue only same arch:
$h->{pretty_name} .= " (cannot be rescued: $h->{arch} ne $arch;)" if $h->{arch} ne $arch;
push @roots, $h;