diff options
-rw-r--r-- | mod/mod-build-task.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/mod/mod-build-task.cxx b/mod/mod-build-task.cxx index b0b74b1..29f3783 100644 --- a/mod/mod-build-task.cxx +++ b/mod/mod-build-task.cxx @@ -2104,7 +2104,8 @@ handle (request& rq, response& rs) // of the build auxiliary machines is less than 10. If that's not the // case, then turn the build into the built state with the abort status. // - if (task_response.task->auxiliary_machines.size () > 9) + if (task_response.task && + task_response.task->auxiliary_machines.size () > 9) { // Respond with the no-task manifest. // |