diff --git a/tools/make_disc_trees.pl b/tools/make_disc_trees.pl index 123227e4..0c0e0154 100755 --- a/tools/make_disc_trees.pl +++ b/tools/make_disc_trees.pl @@ -193,6 +193,7 @@ while (defined (my $pkg = )) { 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";