aboutsummaryrefslogtreecommitdiff
path: root/mod/mod-build-log.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'mod/mod-build-log.cxx')
-rw-r--r--mod/mod-build-log.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/mod-build-log.cxx b/mod/mod-build-log.cxx
index a1e73ca..3daa1e3 100644
--- a/mod/mod-build-log.cxx
+++ b/mod/mod-build-log.cxx
@@ -194,7 +194,7 @@ handle (request& rq, response& rs)
if (b == nullptr)
config_expired ("no package configuration");
- else if (b->state != build_state::tested)
+ else if (b->state != build_state::built)
config_expired ("state is " + to_string (b->state));
else
build_db_->load (*b, b->results_section);