mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
pocheck: Set the exit value
This commit is contained in:
parent
6ed292122d
commit
8a0b9b39f4
@ -57,6 +57,8 @@ my $check_trans = (!%options or defined($options{t}));
|
||||
|
||||
my %trans;
|
||||
|
||||
my $total_warn = 0;
|
||||
|
||||
foreach my $pofilename ( @ARGV ) {
|
||||
my %bad;
|
||||
if (!$silent_mode) {
|
||||
@ -239,4 +241,8 @@ foreach my $pofilename ( @ARGV ) {
|
||||
}
|
||||
print "\n";
|
||||
}
|
||||
$total_warn += $warn;
|
||||
}
|
||||
|
||||
exit ($total_warn > 0);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user