diff options
Diffstat (limited to 'perl-install/bootloader.pm')
-rw-r--r-- | perl-install/bootloader.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/bootloader.pm b/perl-install/bootloader.pm index 60e473e86..decb3a1d0 100644 --- a/perl-install/bootloader.pm +++ b/perl-install/bootloader.pm @@ -663,7 +663,7 @@ sub rebuild_initrds { my %done; foreach my $v (grep { $_->{initrd} } @{$bootloader->{entries}}) { - my $kernel_str = vmlinuz2kernel_str($v->{kernel_or_dev}); + my $kernel_str = vmlinuz2kernel_str($v->{kernel_or_dev}) or next; my $initrd_long = '/boot/' . kernel_str2initrd_long($kernel_str); next if $done{$initrd_long}++; |