X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=src%2Fsocket.c;h=fc6088c261819daa913e5973ccdd0f17d00b7cfe;hp=2567d0febfdbfea436b6c8ebaea7a17e771dc189;hb=169c1bda807d183a362b47efe0b5b56e9320e430;hpb=926e43013353ed8bee614a3dc35dd0da69cdc59f 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;