qrexec-lib: use _exit in child process to not fire atexit hooks

Otherwise it would remove qrexec socket.
This commit is contained in:
Marek Marczykowski-Górecki 2014-05-19 16:52:27 +02:00
parent f01b1a16ba
commit 821a1c2fe9

View File

@ -131,5 +131,5 @@ int fork_and_flush_stdin(int fd, struct buffer *buffer)
close(i); close(i);
set_block(fd); set_block(fd);
write_all(fd, buffer_data(buffer), buffer_len(buffer)); write_all(fd, buffer_data(buffer), buffer_len(buffer));
exit(0); _exit(0);
} }