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 1c51ad9362
commit f5c702c45c
1 changed files with 1 additions and 0 deletions

View File

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