core/exec-invoke: add missing char in comment
This commit is contained in:
@@ -2089,7 +2089,7 @@ static int build_environment(
|
||||
|
||||
/* If this is D-Bus, tell the nss-systemd module, since it relies on being able to use blocking
|
||||
* Varlink calls back to us for look up dynamic users in PID 1. Break the deadlock between D-Bus and
|
||||
* PID 1 by disabling use of PID1' NSS interface for looking up dynamic users. */
|
||||
* PID 1 by disabling use of PID1's NSS interface for looking up dynamic users. */
|
||||
if (p->flags & EXEC_NSS_DYNAMIC_BYPASS) {
|
||||
r = strv_extend_with_size(&e, &n, "SYSTEMD_NSS_DYNAMIC_BYPASS=1");
|
||||
if (r < 0)
|
||||
@@ -2097,8 +2097,8 @@ static int build_environment(
|
||||
}
|
||||
|
||||
/* We query "root" if this is a system unit and User= is not specified. $USER is always set. $HOME
|
||||
* could cause problem for e.g. getty, since login doesn't override $HOME, and $LOGNAME and $SHELL don't
|
||||
* really make much sense since we're not logged in. Hence we conditionalize the three based on
|
||||
* could cause problem for e.g. getty, since login doesn't override $HOME, and $LOGNAME and $SHELL
|
||||
* don't really make much sense since we're not logged in. Hence we conditionalize the three based on
|
||||
* SetLoginEnvironment= switch. */
|
||||
if (!username && !c->dynamic_user && p->runtime_scope == RUNTIME_SCOPE_SYSTEM) {
|
||||
assert(!c->user);
|
||||
|
||||
Reference in New Issue
Block a user