diff options
author | Lennart Poettering <lennart@poettering.net> | 2020-01-07 15:20:32 +0100 |
---|---|---|
committer | Chris Down <chris@chrisdown.name> | 2020-01-07 19:32:14 +0000 |
commit | 4353974d75940352486bac21b877a598e70558d5 (patch) | |
tree | 94ef08aea9fcc3c8ba3e453af2282c01ce990038 /src/boot/efi | |
parent | ffe61e19cb57607318cc8ec4d7a875bc90bf05ea (diff) | |
download | systemd-4353974d75940352486bac21b877a598e70558d5.tar.gz |
boot: fix osrel parser
let's check VERSION instead of VERSION_ID where appropriate.
Fixes: #14493
Diffstat (limited to 'src/boot/efi')
-rw-r--r-- | src/boot/efi/boot.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/boot/efi/boot.c b/src/boot/efi/boot.c index 84293364b4..e1a1a68527 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; |