]> diplodocus.org Git - flac-archive/blobdiff - fa-flacd
Fix a job in Jobs::run (@jobs < $maxjobs, not <=) and icky icky
[flac-archive] / fa-flacd
index 09bfe4a..14fb706 100755 (executable)
--- a/fa-flacd
+++ b/fa-flacd
@@ -79,7 +79,7 @@ sub run {
     }
 
     while (1) {
-        if (@jobs <= $maxjobs) {
+        if (@jobs < $maxjobs) {
             my $job;
             while (defined($job = $get_job->())) {
                 $pid = newjob($job, \@jobs, $o{'debug'});