If the server is exiting with an error, delay our exit just a little

in order to give the client side a better chance of reading any error
message we just sent.
This commit is contained in:
Wayne Davison committed 2007-05-06 19:44:26 +00:00
1 parent 4f3797c7e2
commit 377d22ab9f
1 file changed
+2
+2
View File
@@ -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 */