diff --git a/src/boot/efi/efi-string.c b/src/boot/efi/efi-string.c index b9ef1548ca..072c649f8f 100644 --- a/src/boot/efi/efi-string.c +++ b/src/boot/efi/efi-string.c @@ -193,7 +193,8 @@ static bool efi_fnmatch_internal(const char16_t *p, const char16_t *h, int max_d p++; if (*p == '\0') return false; - match |= *p == *h; + if (*p == *h) + match = true; can_range = true; continue; }