Skip even if they did not pass.

This commit is contained in:
Bradley M. Kuhn 2018-07-22 14:35:32 -07:00
parent 0170039053
commit fc1c35c25c

View file

@ -149,11 +149,11 @@ while (my $file = readdir $dh) {
my $prevPay = $PAYMENT_NUMBER - 1; my $prevPay = $PAYMENT_NUMBER - 1;
my $lastPayDate = PaymentDateByTicket($ticket, $prevPay); my $lastPayDate = PaymentDateByTicket($ticket, $prevPay);
if ($pass and (not defined $lastPayDate)) { if (not defined $lastPayDate) {
print STDERR "\"$file\": \"$ticket\": Skipped: payment $prevPay was not made yet.\n"; print STDERR "\"$file\": \"$ticket\": Skipped: payment $prevPay was not made yet.\n";
next; next;
} }
} }
############################################################################### ###############################################################################
# #