Commit b5ae4aba authored by Wayne Davison's avatar Wayne Davison

Reset the io_error_fd right before the generator kills off the receiver

(because the death of the receiver will close the fd and cause the
generator to fail in any subsequent IO).
parent 8d2aad49
......@@ -461,6 +461,7 @@ static int do_recv(int f_in,int f_out,struct file_list *flist,char *local_name)
}
io_flush();
io_set_error_fd(-1);
kill(pid, SIGUSR2);
wait_process(pid, &status);
return status;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment