mirror of
https://github.com/systemd/systemd.git
synced 2024-11-05 15:21:37 +03:00
boot: fix osrel parser
let's check VERSION instead of VERSION_ID where appropriate. Fixes: #14493
This commit is contained in:
parent
ffe61e19cb
commit
4353974d75
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user