mirror of https://github.com/CISOfy/lynis.git
Added missing -f for GRUB2 bootloader test [BOOT-5121]
This commit is contained in:
parent
678900f660
commit
2bf7e35bf2
|
@ -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 New Issue