[BACK]Return to server.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / tmux

Diff for /src/usr.bin/tmux/server.c between version 1.63 and 1.64

version 1.63, 2009/10/27 13:03:33 version 1.64, 2009/11/02 12:48:44
Line 272 
Line 272 
         srv_fd = server_create_socket();          srv_fd = server_create_socket();
         server_client_create(pair[1]);          server_client_create(pair[1]);
   
         if (access(SYSTEM_CFG, R_OK) != 0) {          if (access(SYSTEM_CFG, R_OK) == 0) {
                 if (errno != ENOENT) {                  if (load_cfg(SYSTEM_CFG, NULL, &cause) != 0)
                         xasprintf(  
                             &cause, "%s: %s", strerror(errno), SYSTEM_CFG);  
                         goto error;                          goto error;
                 }          } else if (errno != ENOENT) {
         } else if (load_cfg(SYSTEM_CFG, NULL, &cause) != 0)                  xasprintf(&cause, "%s: %s", strerror(errno), SYSTEM_CFG);
                 goto error;                  goto error;
           }
         if (cfg_file != NULL && load_cfg(cfg_file, NULL, &cause) != 0)          if (cfg_file != NULL && load_cfg(cfg_file, NULL, &cause) != 0)
                 goto error;                  goto error;
   

Legend:
Removed from v.1.63  
changed lines
  Added in v.1.64