X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=src%2Fsocket.c;h=fc6088c261819daa913e5973ccdd0f17d00b7cfe;hb=3e33a44a01078ea0699dca160b93f0399fbc994b;hp=2567d0febfdbfea436b6c8ebaea7a17e771dc189;hpb=f976f3f67ce5140dc0ba48e0c21a91a553905c57;p=elogind.git diff --git a/src/socket.c b/src/socket.c index 2567d0feb..fc6088c26 100644 --- a/src/socket.c +++ b/src/socket.c @@ -1601,7 +1601,7 @@ static void socket_sigchld_event(Unit *u, pid_t pid, int code, int status) { success = is_clean_exit(code, status); if (s->control_command) { - exec_status_exit(&s->control_command->exec_status, pid, code, status); + exec_status_exit(&s->control_command->exec_status, pid, code, status, s->exec_context.utmp_id); if (s->control_command->ignore) success = true;