summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAlexander Kurtz <alexander@kurtz.be>2016-07-21 02:20:12 +0200
committerAlexander Kurtz <alexander@kurtz.be>2016-07-21 02:20:12 +0200
commitb7536c45ef7307a4e2c4921ad2201d4bcaa4bac6 (patch)
treec6d4c0bddda0790fb13bf8d89aa02a105b355dd7 /src
parent176e51b7102d7bba875e58b85b59e2ed7e30bc89 (diff)
bootctl: Use lower case string constants in case-insensitive comparisons.
Diffstat (limited to 'src')
-rw-r--r--src/boot/bootctl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/boot/bootctl.c b/src/boot/bootctl.c
index 0d42948720..52d79f1c67 100644
--- a/src/boot/bootctl.c
+++ b/src/boot/bootctl.c
@@ -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);