]> git.ipfire.org Git - thirdparty/rsync.git/blobdiff - main.c
Improved the fix that ensures that the generator gets notified about an
[thirdparty/rsync.git] / main.c
diff --git a/main.c b/main.c
index dc3c53341c6c02c3d3ef87da6d69b8a303cca2a5..c32457d42c76233819d2fa9e1e8c37e896ab8592 100644 (file)
--- a/main.c
+++ b/main.c
@@ -64,11 +64,8 @@ extern int whole_file;
 extern int read_batch;
 extern int write_batch;
 extern int batch_fd;
-extern int flist_eof;
 extern int filesfrom_fd;
-extern int delete_during;
 extern int connect_timeout;
-extern int check_for_io_err;
 extern pid_t cleanup_child_pid;
 extern unsigned int module_dirlen;
 extern struct stats stats;
@@ -768,8 +765,6 @@ static int do_recv(int f_in, int f_out, char *local_name)
                exit_cleanup(RERR_IPC);
        }
 
-       check_for_io_err = inc_recurse && delete_during && !flist_eof;
-
        if (pid == 0) {
                close(error_pipe[0]);
                if (f_in != f_out)