Merge branch 'obsd-master'

This commit is contained in:
Thomas Adam
2013-11-14 07:51:26 +00:00
9 changed files with 150 additions and 58 deletions

View File

@ -169,6 +169,9 @@ server_start(int lockfd, char *lockfile)
cfg_finished = 0;
cfg_references = 1;
ARRAY_INIT(&cfg_causes);
cfg_client = ARRAY_FIRST(&clients);
if (cfg_client != NULL)
cfg_client->references++;
if (access(TMUX_CONF, R_OK) == 0) {
if (load_cfg(TMUX_CONF, cfg_cmd_q, &cause) == -1) {