diff options
author | 2005-07-19 00:51:01 +0000 | |
---|---|---|
committer | 2005-07-19 00:51:01 +0000 | |
commit | e71badd6b8abbc0e4a9a964729ccc7633ce53842 (patch) | |
tree | 303822cfa784601d3792fcf3a4d9f71f1c87477c | |
parent | rev 1.7 (diff) | |
download | wireguard-openbsd-e71badd6b8abbc0e4a9a964729ccc7633ce53842.tar.xz wireguard-openbsd-e71badd6b8abbc0e4a9a964729ccc7633ce53842.zip |
if the user specifies the -Q flag (really quiet) we also
have to send the -q flag (quiet) to the server.
-rw-r--r-- | usr.bin/cvs/proto.c | 6 |
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); |