diff options
Diffstat (limited to 'src/term.c')
| -rw-r--r-- | src/term.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/term.c b/src/term.c index 87ce5447b76..f7c87b7608d 100644 --- a/src/term.c +++ b/src/term.c | |||
| @@ -3023,7 +3023,7 @@ init_tty (const char *name, const char *terminal_type, int must_succeed) | |||
| 3023 | int fd; | 3023 | int fd; |
| 3024 | FILE *file; | 3024 | FILE *file; |
| 3025 | 3025 | ||
| 3026 | #if O_IGNORE_CTTY | 3026 | #ifdef O_IGNORE_CTTY |
| 3027 | if (!ctty) | 3027 | if (!ctty) |
| 3028 | /* Open the terminal device. Don't recognize it as our | 3028 | /* Open the terminal device. Don't recognize it as our |
| 3029 | controlling terminal, and don't make it the controlling tty | 3029 | controlling terminal, and don't make it the controlling tty |
| @@ -3054,7 +3054,7 @@ init_tty (const char *name, const char *terminal_type, int must_succeed) | |||
| 3054 | name); | 3054 | name); |
| 3055 | } | 3055 | } |
| 3056 | 3056 | ||
| 3057 | #if !O_IGNORE_CTTY | 3057 | #ifndef O_IGNORE_CTTY |
| 3058 | if (!ctty) | 3058 | if (!ctty) |
| 3059 | dissociate_if_controlling_tty (fd); | 3059 | dissociate_if_controlling_tty (fd); |
| 3060 | #endif | 3060 | #endif |