From 6238401a55e08a853fc133d66437ea43be5bb1a7 Mon Sep 17 00:00:00 2001 From: fehard Date: Wed, 23 Oct 2024 11:34:38 +0200 Subject: [PATCH] Fixed: Multithreading exception --- lib/taskjuggler/BatchProcessor.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/taskjuggler/BatchProcessor.rb b/lib/taskjuggler/BatchProcessor.rb index 36570f33..9d61291a 100644 --- a/lib/taskjuggler/BatchProcessor.rb +++ b/lib/taskjuggler/BatchProcessor.rb @@ -248,7 +248,7 @@ def receiver # Remove the job from the @runningJobs Hash. @runningJobs.delete(pid) # Save the return value. - job.retVal = retVal.exitstatus + job.retVal = retVal if retVal.signaled? cleanPipes(job) # Aborted jobs will probably not send an EOT. So we fastrack