finish=time(); $task->exit=-$sig; $task->write(); debug("build $build->id task $task->order given exit status -$sig"); } else { debug('$task not set'); } $build->finish=time(); $build->status=$sig; $build->write(); debug("build $build->id given status $build->status"); } debug("\nGot signal $sig - exiting"); exit; } ?>