summaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin')
-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) &&