mirror of
https://github.com/tmate-io/tmate.git
synced 2026-07-24 03:27:37 +00:00
Tell the client to exit on configuration file error.
This commit is contained in:
parent
5bebbd81d7
commit
fde36fccc3
1 changed files with 1 additions and 0 deletions
1
server.c
1
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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue