summaryrefslogtreecommitdiff
path: root/usr.bin/cvs/entries.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/cvs/entries.c')
-rw-r--r--usr.bin/cvs/entries.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/cvs/entries.c b/usr.bin/cvs/entries.c
index b139b80b16d..c0270e0c119 100644
--- a/usr.bin/cvs/entries.c
+++ b/usr.bin/cvs/entries.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: entries.c,v 1.45 2005/08/16 16:34:19 xsa Exp $ */
+/* $OpenBSD: entries.c,v 1.46 2005/08/19 08:48:30 xsa Exp $ */
/*
* Copyright (c) 2004 Jean-Francois Brousseau <jfb@openbsd.org>
* All rights reserved.
@@ -151,7 +151,7 @@ cvs_ent_open(const char *dir, int flags)
(void)fclose(fp);
- if (exists)
+ if (exists == 1)
ep->cef_flags |= CVS_ENTF_SYNC;
return (ep);