From 7c7aeb9b8d2ba28e8915a6103237da8f39410794 Mon Sep 17 00:00:00 2001 From: Luca Boccassi Date: Thu, 22 May 2025 22:38:11 +0100 Subject: [PATCH] boot: do not stop parsing profiles if .cmdline is missing When profiles were added with a new interation this was left as a return statement instead of a continue Follow-up for 382e4da4a5b25ad0c225b4a8092ed24a44c84e18 --- src/boot/boot.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/boot/boot.c b/src/boot/boot.c index bf8f5a1a34d..925cc0c41d2 100644 --- a/src/boot/boot.c +++ b/src/boot/boot.c @@ -2290,7 +2290,7 @@ static void boot_entry_add_type2( boot_entry_parse_tries(entry, path, filename, u".efi"); if (!PE_SECTION_VECTOR_IS_SET(sections + SECTION_CMDLINE)) - return; + continue; content = mfree(content); -- 2.47.3