diff options
Diffstat (limited to 'usr.bin/ncftp/getpass.c')
-rw-r--r-- | usr.bin/ncftp/getpass.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/ncftp/getpass.c b/usr.bin/ncftp/getpass.c index a039e7a..01e203d 100644 --- a/usr.bin/ncftp/getpass.c +++ b/usr.bin/ncftp/getpass.c @@ -54,7 +54,7 @@ void Echo(FILE *fp, int on) #endif static int state = 0; int fd = fileno(fp); - + if (!isatty(fd)) return; |