Revision 565465fc slirp/misc.c
b/slirp/misc.c | ||
---|---|---|
153 | 153 |
return 0; |
154 | 154 |
|
155 | 155 |
case 0: |
156 |
setsid(); |
|
157 |
|
|
156 | 158 |
/* Set the DISPLAY */ |
157 | 159 |
if (do_pty == 2) { |
158 | 160 |
(void) close(master); |
159 | 161 |
#ifdef TIOCSCTTY /* XXXXX */ |
160 |
(void) setsid(); |
|
161 | 162 |
ioctl(s, TIOCSCTTY, (char *)NULL); |
162 | 163 |
#endif |
163 | 164 |
} else { |
Also available in: Unified diff