mirror of
https://github.com/tmux/tmux.git
synced 2024-12-25 02:48:47 +00:00
Fix exit message if creating socket fails.
This commit is contained in:
parent
938130bc69
commit
422fcd294a
4
server.c
4
server.c
@ -228,9 +228,9 @@ server_start(struct tmuxproc *client, int flags, struct event_base *base,
|
|||||||
|
|
||||||
if (cause != NULL) {
|
if (cause != NULL) {
|
||||||
if (c != NULL) {
|
if (c != NULL) {
|
||||||
cmdq_append(c, cmdq_get_error(cause));
|
c->exit_message = cause;
|
||||||
c->flags |= CLIENT_EXIT;
|
c->flags |= CLIENT_EXIT;
|
||||||
}
|
} else
|
||||||
free(cause);
|
free(cause);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user