projects
/
systemd
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2613200
)
boot: fix osrel parser
author
Lennart Poettering
<lennart@poettering.net>
Tue, 7 Jan 2020 14:20:32 +0000
(15:20 +0100)
committer
Zbigniew Jędrzejewski-Szmek
<zbyszek@in.waw.pl>
Wed, 5 Feb 2020 16:26:21 +0000
(17:26 +0100)
let's check VERSION instead of VERSION_ID where appropriate.
Fixes: #14493
(cherry picked from commit
4353974d75940352486bac21b877a598e70558d5
)
(cherry picked from commit
1faf5dde4d4a507a612e719c3a7d09d4a2dd5663
)
src/boot/efi/boot.c
patch
|
blob
|
history
diff --git
a/src/boot/efi/boot.c
b/src/boot/efi/boot.c
index fb7abd1f38d11bb40b8846909c4c2507b46c99c7..f1893ff478aaa589133505244db07a0a1cd1bac3 100644
(file)
--- a/
src/boot/efi/boot.c
+++ b/
src/boot/efi/boot.c
@@
-1940,7
+1940,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;