this is a large commit which adds io multiplexing, thus giving error
[rsync/rsync.git] / rsync.c
diff --git a/rsync.c b/rsync.c
index a9c2438..82efef5 100644 (file)
--- a/rsync.c
+++ b/rsync.c
@@ -723,6 +723,7 @@ static char *cleanup_fname;
 
 void exit_cleanup(int code)
 {
+       io_flush();
        if (cleanup_fname)
                do_unlink(cleanup_fname);
        signal(SIGUSR1, SIG_IGN);