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