diff options
Diffstat (limited to 'scp.c')
-rw-r--r-- | scp.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: scp.c,v 1.155 2006/08/03 03:34:42 deraadt Exp $ */ | 1 | /* $OpenBSD: scp.c,v 1.156 2007/01/22 13:06:21 djm Exp $ */ |
2 | /* | 2 | /* |
3 | * scp - secure remote copy. This is basically patched BSD rcp which | 3 | * scp - secure remote copy. This is basically patched BSD rcp which |
4 | * uses ssh to do the data transfer (instead of using rcmd). | 4 | * uses ssh to do the data transfer (instead of using rcmd). |
@@ -380,7 +380,7 @@ main(int argc, char **argv) | |||
380 | if ((pwd = getpwuid(userid = getuid())) == NULL) | 380 | if ((pwd = getpwuid(userid = getuid())) == NULL) |
381 | fatal("unknown user %u", (u_int) userid); | 381 | fatal("unknown user %u", (u_int) userid); |
382 | 382 | ||
383 | if (!isatty(STDERR_FILENO)) | 383 | if (!isatty(STDOUT_FILENO)) |
384 | showprogress = 0; | 384 | showprogress = 0; |
385 | 385 | ||
386 | remin = STDIN_FILENO; | 386 | remin = STDIN_FILENO; |