summaryrefslogtreecommitdiff
path: root/usr.bin/cvs/checkout.c
diff options
context:
space:
mode:
authorJoris Vink <joris@cvs.openbsd.org>2008-02-04 22:36:41 +0000
committerJoris Vink <joris@cvs.openbsd.org>2008-02-04 22:36:41 +0000
commit1ad73d68231346b1ccd034f5fe56672bbc84de1e (patch)
tree05cd77e520a721fd4cb12b84ac1808e8b4a99bd0 /usr.bin/cvs/checkout.c
parent9d8b3928b1c88c9fd75710461b7e5ea3310a30bd (diff)
CVSROOT/modules:
correct -i and -o usage -i runs the program specified on commit -o runs the program specified on checkout
Diffstat (limited to 'usr.bin/cvs/checkout.c')
-rw-r--r--usr.bin/cvs/checkout.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/cvs/checkout.c b/usr.bin/cvs/checkout.c
index a4035f1420b..cdf63aa7ed8 100644
--- a/usr.bin/cvs/checkout.c
+++ b/usr.bin/cvs/checkout.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: checkout.c,v 1.127 2008/02/04 21:29:17 joris Exp $ */
+/* $OpenBSD: checkout.c,v 1.128 2008/02/04 22:36:40 joris Exp $ */
/*
* Copyright (c) 2006 Joris Vink <joris@openbsd.org>
*
@@ -298,7 +298,7 @@ checkout_check_repository(int argc, char **argv)
}
if (nflag != 1 && mc->mc_prog != NULL &&
- mc->mc_flags & MODULE_RUN_ON_COMMIT)
+ mc->mc_flags & MODULE_RUN_ON_CHECKOUT)
cvs_exec(mc->mc_prog);
}