- Fixed an issue with --remove-source-files not removing a source symlink
when combined with --copy-links.
+ - Fixed a bug where the daemon would fail to write early fatal error
+ messages to the client, such as refused or unknown command-line options.
+
- Fixed the block-size validation logic when dealing with older protocols.
- Some rrsync fixes and enhancements to handle the latest options.
}
if (*err_msg)
rprintf(FERROR, "%s\n", err_msg);
+ io_flush(FULL_FLUSH);
} else
option_error();
msleep(400);
#endif
if (!parse_arguments(&argc, (const char ***) &argv)) {
- /* FIXME: We ought to call the same error-handling
- * code here, rather than relying on getopt. */
option_error();
exit_cleanup(RERR_SYNTAX);
}
}
rprintf(FERROR, RSYNC_NAME ": %s", err_buf);
+ io_flush(FULL_FLUSH);
msleep(20);
}