summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--usr.bin/cvs/admin.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/cvs/admin.c b/usr.bin/cvs/admin.c
index d1f6c529cfd..77eac305e71 100644
--- a/usr.bin/cvs/admin.c
+++ b/usr.bin/cvs/admin.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: admin.c,v 1.37 2006/11/13 11:04:19 xsa Exp $ */
+/* $OpenBSD: admin.c,v 1.38 2006/11/13 11:50:11 xsa Exp $ */
/*
* Copyright (c) 2004 Jean-Francois Brousseau <jfb@openbsd.org>
* Copyright (c) 2005 Joris Vink <joris@openbsd.org>
@@ -119,7 +119,7 @@ cvs_admin(int argc, char **argv)
argc -= optind;
argv += optind;
- if (argc <= 1)
+ if (argc == 0)
fatal("%s", cvs_cmd_admin.cmd_synopsis);
cr.enterdir = NULL;