From: Luca Boccassi Date: Thu, 22 May 2025 21:38:11 +0000 (+0100) Subject: boot: do not stop parsing profiles if .cmdline is missing X-Git-Tag: v258-rc1~516 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7c7aeb9b8d2ba28e8915a6103237da8f39410794;p=thirdparty%2Fsystemd.git 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 --- 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);