summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjoris <joris@openbsd.org>2005-09-13 17:24:38 +0000
committerjoris <joris@openbsd.org>2005-09-13 17:24:38 +0000
commit7d78434ad33f9d3996d88b404b1a812e185deb6b (patch)
treecc3738689c077d1da21f9ff16db2288396a10163
parentmake compile; good (diff)
downloadwireguard-openbsd-7d78434ad33f9d3996d88b404b1a812e185deb6b.tar.xz
wireguard-openbsd-7d78434ad33f9d3996d88b404b1a812e185deb6b.zip
unbreak opencvs server
ok xsa@
-rw-r--r--usr.bin/cvs/cmd.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/usr.bin/cvs/cmd.c b/usr.bin/cvs/cmd.c
index adffee9c9b2..b30b840aa98 100644
--- a/usr.bin/cvs/cmd.c
+++ b/usr.bin/cvs/cmd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: cmd.c,v 1.34 2005/09/07 17:43:15 joris Exp $ */
+/* $OpenBSD: cmd.c,v 1.35 2005/09/13 17:24:38 joris Exp $ */
/*
* Copyright (c) 2005 Joris Vink <joris@openbsd.org>
* All rights reserved.
@@ -182,7 +182,8 @@ cvs_startcmd(struct cvs_cmd *cmd, int argc, char **argv)
*/
error = 0;
if ((cmd->cmd_op != CVS_OP_CHECKOUT) && (cmd->cmd_op != CVS_OP_EXPORT) &&
- (cmd->cmd_op != CVS_OP_IMPORT) && (cmd->cmd_op != CVS_OP_RELEASE)) {
+ (cmd->cmd_op != CVS_OP_IMPORT) && (cmd->cmd_op != CVS_OP_RELEASE) &&
+ (cmd->cmd_op != CVS_OP_VERSION)) {
/* check for the CVS directory */
ret = stat(CVS_PATH_CVSDIR, &st);
if (((ret == -1) && (errno == ENOENT)) || ((ret != -1) &&