make_disc_trees.pl: Fix $disknum handling for incomplete sets
This commit is contained in:
parent
1c51ad9362
commit
f5c702c45c
|
@ -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";
|
||||
|
|
Loading…
Reference in New Issue