summaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
authorJoris Vink <joris@cvs.openbsd.org>2005-07-19 00:51:02 +0000
committerJoris Vink <joris@cvs.openbsd.org>2005-07-19 00:51:02 +0000
commit46359097304b42523e0ab31856edc7f4e721a9e2 (patch)
tree0a96f3d6790318414e6192494ebaf7b01585f295 /usr.bin
parentc062ccfb5a3aad23bcb71f891ee35dc78c8a6c9d (diff)
if the user specifies the -Q flag (really quiet) we also
have to send the -q flag (quiet) to the server.
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/cvs/proto.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/cvs/proto.c b/usr.bin/cvs/proto.c
index 4dd13c41b0d..f226debdde7 100644
--- a/usr.bin/cvs/proto.c
+++ b/usr.bin/cvs/proto.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: proto.c,v 1.60 2005/07/18 06:58:48 xsa Exp $ */
+/* $OpenBSD: proto.c,v 1.61 2005/07/19 00:51:01 joris Exp $ */
/*
* Copyright (c) 2004 Jean-Francois Brousseau <jfb@openbsd.org>
* All rights reserved.
@@ -316,10 +316,10 @@ cvs_connect(struct cvsroot *root)
cvs_log(LP_WARN, "failed to get remote version");
/* now share our global options with the server */
- if ((verbosity == 1) &&
+ if ((verbosity <= 1) &&
(cvs_sendreq(root, CVS_REQ_GLOBALOPT, "-q") < 0))
return (-1);
- else if ((verbosity == 0) &&
+ if ((verbosity == 0) &&
(cvs_sendreq(root, CVS_REQ_GLOBALOPT, "-Q") < 0))
return (-1);