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