Skip to content

Commit

Permalink
Merge pull request #113 from candrews/patch-3
Browse files Browse the repository at this point in the history
[Kernel] Include /boot/kernel* while looking for linux kernel images
  • Loading branch information
liske authored May 12, 2018
2 parents 8857ecd + bbd98c3 commit 2180f39
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion perl/lib/NeedRestart/Kernel/Linux.pm
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ sub nr_kernel_check_real($$) {
} grep {
# filter initrd images
(!m@^/boot/init@);
} (</boot/vmlinu*>, </boot/*.img>);
} (</boot/vmlinu*>, </boot/*.img>, </boot/kernel*>);

$ui->progress_prep(scalar keys %kfiles, __ 'Scanning linux images...');

Expand Down

0 comments on commit 2180f39

Please sign in to comment.