mirror of
https://github.com/tmux/tmux.git
synced 2024-12-25 02:48:47 +00:00
Report error if creating socket fails with -D.
This commit is contained in:
parent
422fcd294a
commit
207b1bc385
6
server.c
6
server.c
@ -230,8 +230,10 @@ server_start(struct tmuxproc *client, int flags, struct event_base *base,
|
|||||||
if (c != NULL) {
|
if (c != NULL) {
|
||||||
c->exit_message = cause;
|
c->exit_message = cause;
|
||||||
c->flags |= CLIENT_EXIT;
|
c->flags |= CLIENT_EXIT;
|
||||||
} else
|
} else {
|
||||||
free(cause);
|
fprintf(stderr, "%s\n", cause);
|
||||||
|
exit(1);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
evtimer_set(&server_ev_tidy, server_tidy_event, NULL);
|
evtimer_set(&server_ev_tidy, server_tidy_event, NULL);
|
||||||
|
Loading…
Reference in New Issue
Block a user