mirror of
https://github.com/tmate-io/tmate.git
synced 2024-11-23 16:43:11 +01:00
Sync OpenBSD patchset 500:
Tell the client to exit on configuration file error.
This commit is contained in:
parent
142962742c
commit
40b6941c0f
3
server.c
3
server.c
@ -1,4 +1,4 @@
|
||||
/* $Id: server.c,v 1.220 2009-11-08 23:02:56 tcunha Exp $ */
|
||||
/* $Id: server.c,v 1.221 2009-11-08 23:06:25 tcunha Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
|
||||
@ -197,6 +197,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…
Reference in New Issue
Block a user