maint: fix line numbers in check-aclrules reports

Reset line numbering on each input file in check-aclrules.pl. Otherwise
it reports wrong line numbers in its error messages.

Signed-off-by: Yuri Myasoedov <ymyasoedov@yandex.ru>
Signed-off-by: Roman Bogorodskiy <bogorodskiy@gmail.com>
Signed-off-by: Eric Blake <eblake@redhat.com>
This commit is contained in:
Yuri Myasoedov 2014-02-10 00:10:35 +04:00 committed by Eric Blake
parent 28900766d5
commit cc25e45158

View File

@ -254,6 +254,8 @@ while (<>) {
$brace += $count;
$count = s/}//g;
$brace -= $count;
} continue {
close ARGV if eof;
}
exit $status;