summaryrefslogtreecommitdiff
path: root/usr.bin/cvs/admin.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/cvs/admin.c')
-rw-r--r--usr.bin/cvs/admin.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/usr.bin/cvs/admin.c b/usr.bin/cvs/admin.c
index 6f96856242d..40144fdb4b0 100644
--- a/usr.bin/cvs/admin.c
+++ b/usr.bin/cvs/admin.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: admin.c,v 1.3 2005/03/07 19:41:07 joris Exp $ */
+/* $OpenBSD: admin.c,v 1.4 2005/03/08 00:20:39 joris Exp $ */
/*
* Copyright (c) 2004 Jean-Francois Brousseau <jfb@openbsd.org>
* Copyright (c) 2005 Joris Vink <joris@openbsd.org>
@@ -227,7 +227,8 @@ cvs_admin(int argc, char **argv)
return (EX_PROTOCOL);
}
- if ((comment != NULL) && (cvs_sendarg(root, comment, 0) < 0))
+ if ((comment != NULL) && ((cvs_sendarg(root, "-c", 0) < 0) ||
+ (cvs_sendarg(root, comment, 0) < 0)))
return (EX_PROTOCOL);
if (runflags & FLAG_DELUSER) {