From: Lennart Poettering Date: Tue, 7 Jan 2020 14:20:32 +0000 (+0100) Subject: boot: fix osrel parser X-Git-Tag: v245-rc1~179 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4353974d75940352486bac21b877a598e70558d5;p=thirdparty%2Fsystemd.git boot: fix osrel parser let's check VERSION instead of VERSION_ID where appropriate. Fixes: #14493 --- diff --git a/src/boot/efi/boot.c b/src/boot/efi/boot.c index 84293364b47..e1a1a685279 100644 --- a/src/boot/efi/boot.c +++ b/src/boot/efi/boot.c @@ -1958,7 +1958,7 @@ static VOID config_entry_add_linux( continue; } - if (strcmpa((CHAR8 *)"VERSION_ID", key) == 0) { + if (strcmpa((CHAR8 *)"VERSION", key) == 0) { FreePool(os_version); os_version = stra_to_str(value); continue;