summaryrefslogtreecommitdiff
path: root/usr.bin/cvs
diff options
context:
space:
mode:
authorJoris Vink <joris@cvs.openbsd.org>2005-07-08 10:30:25 +0000
committerJoris Vink <joris@cvs.openbsd.org>2005-07-08 10:30:25 +0000
commit35c7add9ffbc964d7891ce0bd72b5c751e465879 (patch)
treee54b26e8fd75b23182856f795aa569d8e8d5545e /usr.bin/cvs
parent7898127afe989a91f209290738305f97584565c5 (diff)
don't try to run the pruning function on server side.
Diffstat (limited to 'usr.bin/cvs')
-rw-r--r--usr.bin/cvs/cmd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/cvs/cmd.c b/usr.bin/cvs/cmd.c
index e1abddbda29..2b8f888d128 100644
--- a/usr.bin/cvs/cmd.c
+++ b/usr.bin/cvs/cmd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: cmd.c,v 1.28 2005/07/07 14:27:57 joris Exp $ */
+/* $OpenBSD: cmd.c,v 1.29 2005/07/08 10:30:24 joris Exp $ */
/*
* Copyright (c) 2005 Joris Vink <joris@openbsd.org>
* All rights reserved.
@@ -226,7 +226,7 @@ cvs_startcmd(struct cvs_cmd *cmd, int argc, char **argv)
if (cmd->cmd_cleanup != NULL)
(*cmd->cmd_cleanup)();
- if (cmd->cmd_flags & CVS_CMD_PRUNEDIRS)
+ if (cvs_cmdop != CVS_OP_SERVER && cmd->cmd_flags & CVS_CMD_PRUNEDIRS)
cvs_file_prune(fpath);
if (root->cr_method != CVS_METHOD_LOCAL)