1
0
mirror of https://github.com/systemd/systemd.git synced 2025-03-31 14:50:15 +03:00

core/manager: fix grammar in comment

This commit is contained in:
Zbigniew Jędrzejewski-Szmek 2017-02-10 15:41:42 -05:00
parent c6e47247a7
commit 71cb7d306a

View File

@ -531,9 +531,9 @@ static int manager_default_environment(Manager *m) {
if (MANAGER_IS_SYSTEM(m)) {
/* The system manager always starts with a clean
* environment for its children. It does not import
* the kernel or the parents exported variables.
* the kernel's or the parents' exported variables.
*
* The initial passed environ is untouched to keep
* The initial passed environment is untouched to keep
* /proc/self/environ valid; it is used for tagging
* the init process inside containers. */
m->environment = strv_new("PATH=" DEFAULT_PATH,
@ -541,11 +541,10 @@ static int manager_default_environment(Manager *m) {
/* Import locale variables LC_*= from configuration */
locale_setup(&m->environment);
} else {
} else
/* The user manager passes its own environment
* along to its children. */
m->environment = strv_copy(environ);
}
if (!m->environment)
return -ENOMEM;