mirror of
https://github.com/tmux/tmux.git
synced 2024-12-24 18:38:48 +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) {
|
||||
c->exit_message = cause;
|
||||
c->flags |= CLIENT_EXIT;
|
||||
} else
|
||||
free(cause);
|
||||
} else {
|
||||
fprintf(stderr, "%s\n", cause);
|
||||
exit(1);
|
||||
}
|
||||
}
|
||||
|
||||
evtimer_set(&server_ev_tidy, server_tidy_event, NULL);
|
||||
|
Loading…
Reference in New Issue
Block a user