summaryrefslogtreecommitdiff
path: root/src/channel.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/channel.c')
-rw-r--r--src/channel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/channel.c b/src/channel.c
index b013a8558..7c649b171 100644
--- a/src/channel.c
+++ b/src/channel.c
@@ -1048,7 +1048,7 @@ channel_set_pipes(channel_T *channel, sock_T in, sock_T out, sock_T err)
# if defined(UNIX)
/* Do not end the job when all output channels are closed, wait until
* the job ended. */
- if (isatty(in))
+ if (mch_isatty(in))
channel->ch_to_be_closed |= (1U << PART_IN);
# endif
}