diff options
Diffstat (limited to 'src/process.c')
| -rw-r--r-- | src/process.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/process.c b/src/process.c index 6e9da96bf07..8db5209620d 100644 --- a/src/process.c +++ b/src/process.c | |||
| @@ -1275,7 +1275,7 @@ create_process (process, new_argv, current_dir) | |||
| 1275 | #endif /* USG */ | 1275 | #endif /* USG */ |
| 1276 | #endif /* not HAVE_SETSID */ | 1276 | #endif /* not HAVE_SETSID */ |
| 1277 | #ifdef NTTYDISC | 1277 | #ifdef NTTYDISC |
| 1278 | if (pty_flag) | 1278 | if (pty_flag && xforkin >= 0) |
| 1279 | { | 1279 | { |
| 1280 | /* Use new line discipline. */ | 1280 | /* Use new line discipline. */ |
| 1281 | int ldisc = NTTYDISC; | 1281 | int ldisc = NTTYDISC; |