summaryrefslogtreecommitdiffstats
path: root/server.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@openbsd.org>2009-11-04 22:47:34 +0000
committerNicholas Marriott <nicm@openbsd.org>2009-11-04 22:47:34 +0000
commitfde36fccc3a5da0a9b9e467c826403d2c5dfe75e (patch)
tree07e6add37bf1a968f42a94c72e8394ccebffb00c /server.c
parent5bebbd81d76183be6f9384c5dada0e1732a58313 (diff)
Tell the client to exit on configuration file error.
Diffstat (limited to 'server.c')
-rw-r--r--server.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/server.c b/server.c
index b4c5a8d2..eb215009 100644
--- a/server.c
+++ b/server.c
@@ -193,6 +193,7 @@ error:
c = ARRAY_FIRST(&clients);
server_write_error(c, cause);
+ server_write_client(c, MSG_EXIT, NULL, 0);
xfree(cause);
server_shutdown = 1;