diff options
-rw-r--r-- | usr.bin/cvs/checkout.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/cvs/checkout.c b/usr.bin/cvs/checkout.c index e613d78414b..cfcc1ff17e0 100644 --- a/usr.bin/cvs/checkout.c +++ b/usr.bin/cvs/checkout.c @@ -1,4 +1,4 @@ -/* $OpenBSD: checkout.c,v 1.29 2005/06/07 15:13:25 xsa Exp $ */ +/* $OpenBSD: checkout.c,v 1.30 2005/06/07 15:34:24 xsa Exp $ */ /* * Copyright (c) 2004 Jean-Francois Brousseau <jfb@openbsd.org> * All rights reserved. @@ -201,7 +201,7 @@ cvs_checkout_pre_exec(struct cvsroot *root) if (!shorten && cvs_sendarg(root, "-N", 0) < 0) return (CVS_EX_PROTO); - if ((cvs_cmd_update.cmd_flags & CVS_CMD_PRUNEDIRS) && + if ((cvs_cmd_checkout.cmd_flags & CVS_CMD_PRUNEDIRS) && (cvs_sendarg(root, "-P", 0) < 0)) return (CVS_EX_PROTO); |