summaryrefslogtreecommitdiffstats
path: root/perl-install/bootloader.pm
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/bootloader.pm')
-rw-r--r--perl-install/bootloader.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/bootloader.pm b/perl-install/bootloader.pm
index d8146905d..d2761c016 100644
--- a/perl-install/bootloader.pm
+++ b/perl-install/bootloader.pm
@@ -2203,7 +2203,7 @@ sub find_other_distros_grub_conf {
} else {
log::l("could not recognise the distribution for $e->{grub_conf} in $e->{bootpart}{device}");
}
- $e->{name} = $e->{menuentry} || "Linux $e->{bootpart}{device}";
+ $e->{name} ||= "Linux $e->{bootpart}{device}";
push @found, $e;
}
}