chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
man: fix typo in sd_notify
[elogind.git]
/
src
/
execute.c
diff --git
a/src/execute.c
b/src/execute.c
index 866e8bf2f69ed9e088e47dea5afd3eebff44d851..250d53a424a07655929439929a62a56d6eec99c0 100644
(file)
--- a/
src/execute.c
+++ b/
src/execute.c
@@
-1170,7
+1170,7
@@
int exec_spawn(ExecCommand *command,
}
if (context->utmp_id)
}
if (context->utmp_id)
- utmp_put_init_process(
0,
context->utmp_id, getpid(), getsid(0), context->tty_path);
+ utmp_put_init_process(context->utmp_id, getpid(), getsid(0), context->tty_path);
if (context->user) {
username = context->user;
if (context->user) {
username = context->user;