diff options
author | Joris Vink <joris@cvs.openbsd.org> | 2008-03-09 03:41:56 +0000 |
---|---|---|
committer | Joris Vink <joris@cvs.openbsd.org> | 2008-03-09 03:41:56 +0000 |
commit | 86732db71cd539216ad57d9d4ed05d6980a97c64 (patch) | |
tree | e758cc8dadf03f6bb1b373b8de5d158a9777758e /usr.bin | |
parent | b2baab22a9078c03ac94b579b5a52f2d757e932b (diff) |
do not use CR_REPO in a remote setup, that will obviously fail.
Diffstat (limited to 'usr.bin')
-rw-r--r-- | usr.bin/cvs/add.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/cvs/add.c b/usr.bin/cvs/add.c index 6bc9063a1bb..c3c0e35097e 100644 --- a/usr.bin/cvs/add.c +++ b/usr.bin/cvs/add.c @@ -1,4 +1,4 @@ -/* $OpenBSD: add.c,v 1.96 2008/03/08 20:26:34 joris Exp $ */ +/* $OpenBSD: add.c,v 1.97 2008/03/09 03:41:55 joris Exp $ */ /* * Copyright (c) 2006 Joris Vink <joris@openbsd.org> * Copyright (c) 2005, 2006 Xavier Santolaria <xsa@openbsd.org> @@ -89,6 +89,7 @@ cvs_add(int argc, char **argv) if (current_cvsroot->cr_method != CVS_METHOD_LOCAL) { cvs_client_connect_to_server(); cr.fileproc = cvs_add_remote; + flags = 0; if (kflag) cvs_client_send_request("Argument %s", kbuf); |