From 32460daaf88aeb374ba37c3aa6c9ed9f75a239d0 Mon Sep 17 00:00:00 2001 From: rudolfkoenig <> Date: Sun, 25 Feb 2018 18:32:55 +0000 Subject: [PATCH] contrib/pre-commit: fix typo git-svn-id: https://svn.fhem.de/fhem/trunk@16269 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- fhem/contrib/pre-commit | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fhem/contrib/pre-commit b/fhem/contrib/pre-commit index 2084359fd..a56b1fc81 100755 --- a/fhem/contrib/pre-commit +++ b/fhem/contrib/pre-commit @@ -126,7 +126,7 @@ foreach my $row (split("\n", $fList)) { $tagcount{$tag} +=()= ($l =~ /<$tag>/gi); $tagcount{$tag} -=()= ($l =~ /<\/$tag>/gi); if($tagcount{$tag} < 0) { - print "*** $lang $fPath: negative tagcount for $tag, line $line\n"; + print "*** $lang $fName: negative tagcount for $tag, line $line\n"; $tagcount{$tag} = 0; } $llwct{$tag} = $line if(!$llwct{$tag} || ($ot && !$tagcount{$tag}));