summaryrefslogtreecommitdiffstats
path: root/scp.c
diff options
context:
space:
mode:
authordes <des@FreeBSD.org>2008-07-23 09:15:38 +0000
committerdes <des@FreeBSD.org>2008-07-23 09:15:38 +0000
commit367fd865463ff70d9176231cb7590e6e69b51b06 (patch)
tree31274ced9514914f9504202c6e49c93d509e710d /scp.c
parente3cfeae816c1b89dbdb19357e2256b4b252fbf05 (diff)
downloadFreeBSD-src-367fd865463ff70d9176231cb7590e6e69b51b06.zip
FreeBSD-src-367fd865463ff70d9176231cb7590e6e69b51b06.tar.gz
Vendor import of OpenSSH 4.6p1 for posterity's sake
Diffstat (limited to 'scp.c')
-rw-r--r--scp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/scp.c b/scp.c
index 56a3e79..a52aaeb 100644
--- a/scp.c
+++ b/scp.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: scp.c,v 1.155 2006/08/03 03:34:42 deraadt Exp $ */
+/* $OpenBSD: scp.c,v 1.156 2007/01/22 13:06:21 djm Exp $ */
/*
* scp - secure remote copy. This is basically patched BSD rcp which
* uses ssh to do the data transfer (instead of using rcmd).
@@ -380,7 +380,7 @@ main(int argc, char **argv)
if ((pwd = getpwuid(userid = getuid())) == NULL)
fatal("unknown user %u", (u_int) userid);
- if (!isatty(STDERR_FILENO))
+ if (!isatty(STDOUT_FILENO))
showprogress = 0;
remin = STDIN_FILENO;
OpenPOWER on IntegriCloud