1
1
mirror of https://github.com/systemd/systemd-stable.git synced 2025-02-08 05:57:26 +03:00

boot: compare filename suffixes without case

This is VFAT world after all.

(cherry picked from commit 764faf60400bafb1764b728aafe0dcf4cbf07364)
(cherry picked from commit 18143edf3e582d6b8c2933f5c181c9b29146023a)
(cherry picked from commit 04cd06e2f679376e932a1b1424bdffb326f607d6)
(cherry picked from commit 71da938d378d2dbf2bf1a6e1de6b07392901d22e)
This commit is contained in:
Lennart Poettering 2024-07-04 17:07:59 +02:00 committed by Luca Boccassi
parent aaad62626b
commit 11db58b106

View File

@ -1343,7 +1343,7 @@ static void config_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;