mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-09 06:25:19 +00:00
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:
parent
28900766d5
commit
cc25e45158
@ -254,6 +254,8 @@ while (<>) {
|
||||
$brace += $count;
|
||||
$count = s/}//g;
|
||||
$brace -= $count;
|
||||
} continue {
|
||||
close ARGV if eof;
|
||||
}
|
||||
|
||||
exit $status;
|
||||
|
Loading…
Reference in New Issue
Block a user