diff --git a/system-config/kernel-xen-efi.install b/system-config/kernel-xen-efi.install index a0872f6..9b83010 100755 --- a/system-config/kernel-xen-efi.install +++ b/system-config/kernel-xen-efi.install @@ -38,7 +38,7 @@ case "$COMMAND" in dracut -f "$EFI_DIR/initramfs-${KVER}.img" "$KVER" fi - if ! fgrep -q "[${KVER}]" $EFI_DIR/xen.cfg; then + if ! grep -F -q "[${KVER}]" $EFI_DIR/xen.cfg; then # take the default section and use it as a template for the new entry awk -F = --assign "kver=${KVER}" ' /^\[/ {