mirror of
https://github.com/CISOfy/lynis.git
synced 2026-03-11 08:55:28 +00:00
Added missing -f for GRUB2 bootloader test [BOOT-5121]
This commit is contained in:
parent
678900f660
commit
2bf7e35bf2
1 changed files with 1 additions and 1 deletions
|
|
@ -45,7 +45,7 @@
|
|||
fi
|
||||
|
||||
# GRUB2 configuration file
|
||||
if [ -f /boot/grub/grub.cfg -o /boot/grub2/grub.cfg ]; then
|
||||
if [ -f /boot/grub/grub.cfg -o -f /boot/grub2/grub.cfg ]; then
|
||||
FOUND=1
|
||||
BOOT_LOADER="GRUB2"
|
||||
BOOT_LOADER_FOUND=1
|
||||
|
|
|
|||
Loading…
Reference in a new issue