… | … | ||
---|---|---|---|
511 | if (pid < 0) | 511 | if (pid < 0) |
512 | fatal ("could not create pty/sessiondb helper process, aborting.\n"); | 512 | fatal ("could not create pty/sessiondb helper process, aborting.\n"); |
513 | 513 | ||
514 | if (pid) | 514 | if (pid) |
515 | { | 515 | { |
516 | // client, urxvt | 516 | // client, process |
517 | sock_fd = sv[0]; | 517 | sock_fd = sv[0]; |
518 | close (sv[1]); | 518 | close (sv[1]); |
519 | fcntl (sock_fd, F_SETFD, FD_CLOEXEC); | 519 | fcntl (sock_fd, F_SETFD, FD_CLOEXEC); |
520 | } | 520 | } |
521 | else | 521 | else |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |