Added missing -f for GRUB2 bootloader test [BOOT-5121]

This commit is contained in:
mboelen 2014-10-09 00:41:06 +02:00
parent 678900f660
commit 2bf7e35bf2
1 changed files with 1 additions and 1 deletions

View File

@ -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