Changing if (!write_batch) in front of send_exclude_list() to

if (!read_batch) -- fixes hang.
This commit is contained in:
Wayne Davison
2004-05-15 18:51:21 +00:00
parent 914f3066bb
commit 1082b52bd4

5
main.c
View File

@@ -633,11 +633,10 @@ int client_run(int f_in, int f_out, pid_t pid, int argc, char *argv[])
exit_cleanup(status);
}
if (argc == 0) {
if (argc == 0)
list_only = 1;
}
if (!write_batch)
if (!read_batch)
send_exclude_list(f_out);
if (filesfrom_fd >= 0) {