Matt McCutchen's Web Site
/
rsync
/
rsync.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4f3797c
)
If the server is exiting with an error, delay our exit just a little
author
Wayne Davison
<wayned@samba.org>
Sun, 6 May 2007 19:44:26 +0000
(19:44 +0000)
committer
Wayne Davison
<wayned@samba.org>
Sun, 6 May 2007 19:44:26 +0000
(19:44 +0000)
in order to give the client side a better chance of reading any error
message we just sent.
cleanup.c
patch
|
blob
|
blame
|
history
diff --git
a/cleanup.c
b/cleanup.c
index
d825e0f
..
6fc7225
100644
(file)
--- a/
cleanup.c
+++ b/
cleanup.c
@@
-189,6
+189,8
@@
NORETURN void _exit_cleanup(int code, const char *file, int line)
/* FALLTHROUGH */
#include "case_N.h"
+ if (am_server && code)
+ msleep(100);
close_all();
/* FALLTHROUGH */