diff options
Diffstat (limited to 'perl-install/bootloader.pm')
-rw-r--r-- | perl-install/bootloader.pm | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/perl-install/bootloader.pm b/perl-install/bootloader.pm index 3e64c39c3..fabd82a8f 100644 --- a/perl-install/bootloader.pm +++ b/perl-install/bootloader.pm @@ -1058,7 +1058,8 @@ sub suggest { } add_kernel($bootloader, $kernels[0], - { root => $root, label => 'failsafe', append => 'failsafe' }); + { root => $root, label => 'failsafe', append => 'failsafe' }) + if @kernels; if (arch() =~ /ppc/) { #- if we identified a MacOS partition earlier - add it |