summaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@cvs.openbsd.org>2003-11-12 10:12:16 +0000
committerDarren Tucker <dtucker@cvs.openbsd.org>2003-11-12 10:12:16 +0000
commit478955d4502b2f1a19d38ff26d98485a370c591b (patch)
treecb80bd869102d589c2d5e4792842644fac181049 /usr.bin
parentc7163a9e61f62f20da5ce55c2206b0808694f599 (diff)
When called with -q, pass -q to ssh; suppresses SSH2 banner. ok markus@
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/ssh/scp.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/ssh/scp.c b/usr.bin/ssh/scp.c
index 0b1df704120..4cc79339845 100644
--- a/usr.bin/ssh/scp.c
+++ b/usr.bin/ssh/scp.c
@@ -71,7 +71,7 @@
*/
#include "includes.h"
-RCSID("$OpenBSD: scp.c,v 1.110 2003/10/08 08:27:36 jmc Exp $");
+RCSID("$OpenBSD: scp.c,v 1.111 2003/11/12 10:12:15 dtucker Exp $");
#include "xmalloc.h"
#include "atomicio.h"
@@ -267,6 +267,7 @@ main(int argc, char **argv)
verbose_mode = 1;
break;
case 'q':
+ addargs(&args, "-q");
showprogress = 0;
break;