aboutsummaryrefslogtreecommitdiff
path: root/mod/mod-build-force.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'mod/mod-build-force.cxx')
-rw-r--r--mod/mod-build-force.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/mod-build-force.cxx b/mod/mod-build-force.cxx
index ed63146..9389566 100644
--- a/mod/mod-build-force.cxx
+++ b/mod/mod-build-force.cxx
@@ -169,7 +169,7 @@ handle (request& rq, response& rs)
// Respond with 409 (conflict) if the package configuration is in
// inappropriate state for being rebuilt.
//
- else if (b->state != build_state::tested)
+ else if (b->state != build_state::built)
throw invalid_request (409, "state is " + to_string (b->state));
if (!b->forced)