]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
bootspec: clarify we knowingly ignore all errors but ENOMEM
authorLennart Poettering <lennart@poettering.net>
Fri, 2 Sep 2022 11:41:59 +0000 (13:41 +0200)
committerLennart Poettering <lennart@poettering.net>
Fri, 2 Sep 2022 16:09:57 +0000 (18:09 +0200)
src/shared/bootspec.c

index 5b7311f54dedb1eb893e34e043b44d08aa8a868b..332b5cfed3339c4fa702e11bfb39ea757b9950d3 100644 (file)
@@ -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;
         }