[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.142 and 1.143

version 1.142, 2015/10/22 10:48:30 version 1.143, 2015/10/23 16:07:29
Line 178 
Line 178 
         }          }
         close(pair[0]);          close(pair[0]);
   
           if (pledge("stdio rpath wpath cpath fattr unix recvfd proc exec tty "
               "ps", NULL) != 0)
                   fatal("pledge failed");
   
         /*          /*
          * Must daemonise before loading configuration as the PID changes so           * Must daemonise before loading configuration as the PID changes so
          * $TMUX would be wrong for sessions created in the config file.           * $TMUX would be wrong for sessions created in the config file.

Legend:
Removed from v.1.142  
changed lines
  Added in v.1.143