1
0
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:
Lennart Poettering 2024-07-04 17:07:59 +02:00 committed by Luca Boccassi
parent 78fcf31f08
commit 18143edf3e

View File

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