1
0
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:
Mario Limonciello 2018-04-23 02:24:39 -05:00 committed by Zbigniew Jędrzejewski-Szmek
parent d2bc13bde8
commit b0d70534de

View File

@ -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)