mirror of
https://github.com/systemd/systemd.git
synced 2024-12-23 21:35:11 +03:00
hoestnamed: Also parse HOME_URL from /usr/lib/os-release (#8779)
64928aa545
added parsing to
/etc/os-release.
This commit is contained in:
parent
d2bc13bde8
commit
b0d70534de
@ -107,6 +107,7 @@ static int context_read_data(Context *c) {
|
||||
r = parse_env_file("/usr/lib/os-release", NEWLINE,
|
||||
"PRETTY_NAME", &c->data[PROP_OS_PRETTY_NAME],
|
||||
"CPE_NAME", &c->data[PROP_OS_CPE_NAME],
|
||||
"HOME_URL", &c->data[PROP_HOME_URL],
|
||||
NULL);
|
||||
|
||||
if (r < 0 && r != -ENOENT)
|
||||
|
Loading…
Reference in New Issue
Block a user