Need to flush early errors before we exit.
[rsync.git] / options.c
index 66854ca0bc6c429a4515c7b043e6db9442213490..a66930064eb6463487cfff25280efbb33bccacaf 100644 (file)
--- a/options.c
+++ b/options.c
@@ -1138,6 +1138,7 @@ void option_error(void)
        }
 
        rprintf(FERROR, RSYNC_NAME ": %s", err_buf);
+       io_flush(FULL_FLUSH);
        msleep(20);
 }