1
0
mirror of https://github.com/tmate-io/tmate-ssh-server.git synced 2020-11-18 19:53:51 -08:00

Tell the client to exit on configuration file error.

This commit is contained in:
Nicholas Marriott 2009-11-04 22:47:34 +00:00
parent 5bebbd81d7
commit fde36fccc3

View File

@ -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;