aboutsummaryrefslogtreecommitdiff
path: root/mod/mod-build-result.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'mod/mod-build-result.cxx')
-rw-r--r--mod/mod-build-result.cxx7
1 files changed, 4 insertions, 3 deletions
diff --git a/mod/mod-build-result.cxx b/mod/mod-build-result.cxx
index d78c45f..f2b4ffd 100644
--- a/mod/mod-build-result.cxx
+++ b/mod/mod-build-result.cxx
@@ -248,13 +248,14 @@ handle (request& rq, response&)
// build was forced.
//
notify = !(rqm.result.status == result_status::success &&
- b->status && *b->status == rqm.result.status && !b->forced);
+ b->status && *b->status == rqm.result.status &&
+ b->force == force_state::unforced);
prev_status = move (b->status);
- b->state = build_state::built;
+ b->state = build_state::built;
b->status = rqm.result.status;
- b->forced = false;
+ b->force = force_state::unforced;
// Mark the section as loaded, so results are updated.
//