Skip to content

Commit

Permalink
maint: fix line numbers in check-aclrules reports
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
ymyasoedov authored and ebblake committed Feb 10, 2014
1 parent 2890076 commit cc25e45
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/check-aclrules.pl
Original file line number Diff line number Diff line change
Expand Up @@ -254,6 +254,8 @@ sub name_to_ProcName {
$brace += $count;
$count = s/}//g;
$brace -= $count;
} continue {
close ARGV if eof;
}

exit $status;

0 comments on commit cc25e45

Please sign in to comment.