make_disc_trees.pl: Fix $disknum handling for incomplete sets

This commit is contained in:
Steve McIntyre 2024-02-28 00:48:10 +00:00
parent a2621d193a
commit 7531d32437
1 changed files with 1 additions and 0 deletions

View File

@ -195,6 +195,7 @@ while (defined (my $pkg = <INLIST>)) {
if ($disknum > $maxcds) { if ($disknum > $maxcds) {
print LOG "Disk $disknum is beyond the configured MAXCDS of $maxcds; exiting now...\n"; print LOG "Disk $disknum is beyond the configured MAXCDS of $maxcds; exiting now...\n";
$max_done = 1; $max_done = 1;
$disknum--;
last; last;
} }
print LOG "Starting new disc $disknum at " . `date` . "\n"; print LOG "Starting new disc $disknum at " . `date` . "\n";