qrexec-lib: use _exit in child process to not fire atexit hooks
Otherwise it would remove qrexec socket.
This commit is contained in:
parent
f01b1a16ba
commit
821a1c2fe9
@ -131,5 +131,5 @@ int fork_and_flush_stdin(int fd, struct buffer *buffer)
|
||||
close(i);
|
||||
set_block(fd);
|
||||
write_all(fd, buffer_data(buffer), buffer_len(buffer));
|
||||
exit(0);
|
||||
_exit(0);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user