aboutsummaryrefslogtreecommitdiffstats
path: root/CVSROOT/cfg_local.pm
diff options
context:
space:
mode:
authorjoe <joe@FreeBSD.org>2001-11-19 09:16:52 +0800
committerjoe <joe@FreeBSD.org>2001-11-19 09:16:52 +0800
commit3ed8e094bd0b90c109b7b92747fc0699e9faf870 (patch)
tree9e9964db505b51335cf68d3665c7f07f3a01f21b /CVSROOT/cfg_local.pm
parenta889e6714032340fa3d2005c2eb3a10d0a92b56b (diff)
downloadfreebsd-ports-gnome-3ed8e094bd0b90c109b7b92747fc0699e9faf870.tar.gz
freebsd-ports-gnome-3ed8e094bd0b90c109b7b92747fc0699e9faf870.tar.zst
freebsd-ports-gnome-3ed8e094bd0b90c109b7b92747fc0699e9faf870.zip
Make it clear that the $COMMITCHECK_EXTRA check should return true
if everything is ok.
Diffstat (limited to 'CVSROOT/cfg_local.pm')
-rw-r--r--CVSROOT/cfg_local.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/CVSROOT/cfg_local.pm b/CVSROOT/cfg_local.pm
index 1cb7e92c79d5..c519f1df2a16 100644
--- a/CVSROOT/cfg_local.pm
+++ b/CVSROOT/cfg_local.pm
@@ -38,7 +38,8 @@ $COMMITCHECK_EXTRA = sub {
chomp $GRP;
unless ( $GRP =~ /^ncvs$/ ) {
print "You do not have group ncvs (commitcheck)!\n";
- #exit 1;
+ exit 1; # We could return false here. But there's
+ # nothing to stop us taking action here instead.
}
return 1;
};