Revert "qrexec: in agent, use nonzero "fake" pid for existing process"

This reverts commit 9e77e8831e.
This commit is contained in:
Rafal Wojtczuk 2011-07-05 12:58:27 +02:00
parent 9e77e8831e
commit 2c23891856

View File

@ -197,7 +197,7 @@ void handle_connect_existing(int client_id, int len)
char buf[len];
read_all_vchan_ext(buf, len);
sscanf(buf, "%d %d %d", &stdin_fd, &stdout_fd, &stderr_fd);
create_info_about_client(client_id, -1, stdin_fd, stdout_fd,
create_info_about_client(client_id, 0, stdin_fd, stdout_fd,
stderr_fd);
client_info[client_id].is_exited = 1; //do not wait for SIGCHLD
}