summaryrefslogtreecommitdiff
path: root/src/shared/bootspec.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2022-09-02 13:41:59 +0200
committerLennart Poettering <lennart@poettering.net>2022-09-02 18:09:57 +0200
commit293e224056e07eb9c48042228ddb27404c8e518b (patch)
treea0dc6fe4e97a109e0ca7b84f687d0fea058b9c13 /src/shared/bootspec.c
parent7f5780edfbbeb29c7b5062194207580ce7e6ca51 (diff)
downloadsystemd-293e224056e07eb9c48042228ddb27404c8e518b.tar.gz
bootspec: clarify we knowingly ignore all errors but ENOMEM
Diffstat (limited to 'src/shared/bootspec.c')
-rw-r--r--src/shared/bootspec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shared/bootspec.c b/src/shared/bootspec.c
index 5b7311f54d..332b5cfed3 100644
--- a/src/shared/bootspec.c
+++ b/src/shared/bootspec.c
@@ -643,7 +643,7 @@ static int boot_entries_find_type1(
continue;
r = boot_config_load_type1(config, f, root, dir, de->d_name);
- if (r == -ENOMEM)
+ if (r == -ENOMEM) /* ignore all other errors */
return r;
}