bootctl: Use lower case string constants in case-insensitive comparisons.

This commit is contained in:
Alexander Kurtz
2016-07-21 02:20:12 +02:00
parent 176e51b710
commit b7536c45ef
+1 -1
View File
@@ -797,7 +797,7 @@ static int remove_boot_efi(const char *esp_path) {
if (!endswith_no_case(de->d_name, ".efi"))
continue;
if (!startswith_no_case(de->d_name, "Boot"))
if (!startswith_no_case(de->d_name, "boot"))
continue;
fd = openat(dirfd(d), de->d_name, O_RDONLY|O_CLOEXEC);