diff options
Diffstat (limited to 'init.c')
-rw-r--r-- | init.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -411,6 +411,7 @@ static pid_t run(char *command, char *terminal, int get_enter) | |||
411 | dup2(fd, 0); | 411 | dup2(fd, 0); |
412 | dup2(fd, 1); | 412 | dup2(fd, 1); |
413 | dup2(fd, 2); | 413 | dup2(fd, 2); |
414 | ioctl(0, TIOCSCTTY, 0); | ||
414 | tcsetpgrp(0, getpgrp()); | 415 | tcsetpgrp(0, getpgrp()); |
415 | set_term(0); | 416 | set_term(0); |
416 | 417 | ||