mirror of
https://github.com/RsyncProject/rsync.git
synced 2026-10-21 05:14:15 -04:00
Use rwrite() to output the err_msg string.
This commit is contained in:
1 parent
4a19c3b254
commit
9d33e6f7cf
1 file changed
+1
-1
+1
-1
@@ -678,7 +678,7 @@ static int rsync_module(int f_in, int f_out, int i, char *addr, char *host)
|
||||
|
||||
if (!ret || err_msg) {
|
||||
if (err_msg)
|
||||
rprintf(FERROR, err_msg);
|
||||
rwrite(FERROR, err_msg, strlen(err_msg));
|
||||
else
|
||||
option_error();
|
||||
msleep(400);
|
||||
|
||||
Reference in new issue
Block a user