mirror of
https://github.com/CISOfy/lynis.git
synced 2025-07-22 21:34:38 +02:00
Added missing -f for GRUB2 bootloader test [BOOT-5121]
This commit is contained in:
parent
678900f660
commit
2bf7e35bf2
@ -45,7 +45,7 @@
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# GRUB2 configuration file
|
# 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
|
FOUND=1
|
||||||
BOOT_LOADER="GRUB2"
|
BOOT_LOADER="GRUB2"
|
||||||
BOOT_LOADER_FOUND=1
|
BOOT_LOADER_FOUND=1
|
||||||
|
Loading…
x
Reference in New Issue
Block a user