mirror of
https://github.com/systemd/systemd.git
synced 2025-03-19 22:50:17 +03:00
boot: compare filename suffixes without case
This is VFAT world after all. (cherry picked from commit 764faf60400bafb1764b728aafe0dcf4cbf07364)
This commit is contained in:
parent
78fcf31f08
commit
18143edf3e
@ -1337,7 +1337,7 @@ static void boot_entry_parse_tries(
|
||||
return;
|
||||
|
||||
/* Boot counter in the middle of the name? */
|
||||
if (!streq16(counter, suffix))
|
||||
if (!strcaseeq16(counter, suffix))
|
||||
return;
|
||||
|
||||
entry->tries_left = tries_left;
|
||||
|
Loading…
x
Reference in New Issue
Block a user