diff options
Diffstat (limited to 'src/process.c')
| -rw-r--r-- | src/process.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/process.c b/src/process.c index c7262fc79e8..653e2fe1770 100644 --- a/src/process.c +++ b/src/process.c | |||
| @@ -1376,7 +1376,8 @@ create_process (process, new_argv, current_dir) | |||
| 1376 | #endif /* not BSD4_1 */ | 1376 | #endif /* not BSD4_1 */ |
| 1377 | #endif /* SIGCHLD */ | 1377 | #endif /* SIGCHLD */ |
| 1378 | 1378 | ||
| 1379 | child_setup_tty (xforkout); | 1379 | if (pty_flag) |
| 1380 | child_setup_tty (xforkout); | ||
| 1380 | child_setup (xforkin, xforkout, xforkout, | 1381 | child_setup (xforkin, xforkout, xforkout, |
| 1381 | new_argv, 1, current_dir); | 1382 | new_argv, 1, current_dir); |
| 1382 | } | 1383 | } |