summaryrefslogtreecommitdiffstats
path: root/CVSROOT
diff options
context:
space:
mode:
authorjoe <joe@FreeBSD.org>2001-05-14 18:36:21 +0000
committerjoe <joe@FreeBSD.org>2001-05-14 18:36:21 +0000
commit957ca80909e0eb0c2e65b1b7dfd02834ae49b378 (patch)
tree27c70cb76937baccb8a8d7b2cec30bc7ef756376 /CVSROOT
parentbf3e18f146baac39bc1b953db947881d55e0625e (diff)
downloadFreeBSD-ports-957ca80909e0eb0c2e65b1b7dfd02834ae49b378.zip
FreeBSD-ports-957ca80909e0eb0c2e65b1b7dfd02834ae49b378.tar.gz
Show the user why a failed syntax check occurred by showing the
regular expression that was used to perform the check.
Diffstat (limited to 'CVSROOT')
-rwxr-xr-xCVSROOT/logcheck2
1 files changed, 1 insertions, 1 deletions
diff --git a/CVSROOT/logcheck b/CVSROOT/logcheck
index b6af99c..7b75d1c 100755
--- a/CVSROOT/logcheck
+++ b/CVSROOT/logcheck
@@ -91,7 +91,7 @@ while ($j >= 0 and my $header = $log_in[$j]) {
# Type check the header
unless ($value =~ /^$pattern$/) {
- print "Error: syntax check failed for: $header\n";
+ print "Error: $header: should match /^$pattern\$/.\n";
++$error;
next;
}
OpenPOWER on IntegriCloud