diff options
Diffstat (limited to 'src/process.c')
| -rw-r--r-- | src/process.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/process.c b/src/process.c index c2b086e810d..c7262fc79e8 100644 --- a/src/process.c +++ b/src/process.c | |||
| @@ -1349,7 +1349,10 @@ create_process (process, new_argv, current_dir) | |||
| 1349 | } | 1349 | } |
| 1350 | #endif /* not UNIPLUS and not RTU */ | 1350 | #endif /* not UNIPLUS and not RTU */ |
| 1351 | #ifdef SETUP_SLAVE_PTY | 1351 | #ifdef SETUP_SLAVE_PTY |
| 1352 | SETUP_SLAVE_PTY; | 1352 | if (pty_flag) |
| 1353 | { | ||
| 1354 | SETUP_SLAVE_PTY; | ||
| 1355 | } | ||
| 1353 | #endif /* SETUP_SLAVE_PTY */ | 1356 | #endif /* SETUP_SLAVE_PTY */ |
| 1354 | #ifdef AIX | 1357 | #ifdef AIX |
| 1355 | /* On AIX, we've disabled SIGHUP above once we start a child on a pty. | 1358 | /* On AIX, we've disabled SIGHUP above once we start a child on a pty. |