X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/blobdiff_plain/baa4212ae117ed0d6c21d7e3d827e05329caceb8..ef732c3b5400bc2375f48d5201a918342362738e:/cleanup.c diff --git a/cleanup.c b/cleanup.c index ea973391..3e85d4e1 100644 --- a/cleanup.c +++ b/cleanup.c @@ -118,7 +118,7 @@ void _exit_cleanup(int code, const char *file, int line) if (cleanup_fd2 != -1) close(cleanup_fd2); finish_transfer(cleanup_new_fname, fname, cleanup_file); } - io_flush(); + io_flush(FULL_FLUSH); if (cleanup_fname) do_unlink(cleanup_fname); if (code) {