mirror of
https://github.com/RsyncProject/rsync.git
synced 2026-10-26 15:48:22 -04:00
applied simple nohang patch from Wayne Davison
This commit is contained in:
1 parent
ddd491d45e
commit
6c65e14634
1 file changed
+4
-4
@@ -504,16 +504,16 @@ int client_run(int f_in, int f_out, pid_t pid, int argc, char *argv[])
|
||||
rprintf(FINFO,"file list sent\n");
|
||||
|
||||
send_files(flist,f_out,f_in);
|
||||
if (remote_version >= 24) {
|
||||
/* final goodbye message */
|
||||
read_int(f_in);
|
||||
}
|
||||
if (pid != -1) {
|
||||
if (verbose > 3)
|
||||
rprintf(FINFO,"client_run waiting on %d\n",pid);
|
||||
io_flush();
|
||||
wait_process(pid, &status);
|
||||
}
|
||||
if (remote_version >= 24) {
|
||||
/* final goodbye message */
|
||||
read_int(f_in);
|
||||
}
|
||||
report(-1);
|
||||
exit_cleanup(status);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user