summaryrefslogtreecommitdiff
path: root/usr.bin/cvs/file.c
diff options
context:
space:
mode:
authorJoris Vink <joris@cvs.openbsd.org>2008-06-12 07:29:55 +0000
committerJoris Vink <joris@cvs.openbsd.org>2008-06-12 07:29:55 +0000
commit67bf9035d9a4a74465aef3bf49753956e78ca718 (patch)
treec5caacd80a98ab00e7ffdc0457f70e6bae964002 /usr.bin/cvs/file.c
parentff05b352e851c0121dd005f16aee6d1a36088df7 (diff)
fix logic
Diffstat (limited to 'usr.bin/cvs/file.c')
-rw-r--r--usr.bin/cvs/file.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/cvs/file.c b/usr.bin/cvs/file.c
index f2ac9e1fa0e..db9683263a5 100644
--- a/usr.bin/cvs/file.c
+++ b/usr.bin/cvs/file.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: file.c,v 1.243 2008/06/12 07:16:14 joris Exp $ */
+/* $OpenBSD: file.c,v 1.244 2008/06/12 07:29:54 joris Exp $ */
/*
* Copyright (c) 2006 Joris Vink <joris@openbsd.org>
* Copyright (c) 2004 Jean-Francois Brousseau <jfb@openbsd.org>
@@ -294,7 +294,7 @@ cvs_file_walklist(struct cvs_flisthead *fl, struct cvs_recursion *cr)
* During checkout -p, do not use any locally
* available directories.
*/
- if (cvs_cmdop != CVS_OP_CHECKOUT || !print_stdout)
+ if (cvs_cmdop != CVS_OP_CHECKOUT && !print_stdout)
if (stat(d, &st) == -1) {
cvs_log(LP_ERRNO, "%s", d);
goto next;