Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/CISOfy/lynis.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormboelen <michael@cisofy.com>2014-10-09 02:41:06 +0400
committermboelen <michael@cisofy.com>2014-10-09 02:41:06 +0400
commit2bf7e35bf21af9e34a8947b7c0fe224201fc9171 (patch)
treec919d2f13b431058a2dc2fbd6c9e245682d6bc62 /include/tests_boot_services
parent678900f66065e8db1924643bed44027e4d6103de (diff)
Added missing -f for GRUB2 bootloader test [BOOT-5121]
Diffstat (limited to 'include/tests_boot_services')
-rw-r--r--include/tests_boot_services2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/tests_boot_services b/include/tests_boot_services
index 19dc2fb1..33083be5 100644
--- a/include/tests_boot_services
+++ b/include/tests_boot_services
@@ -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