Commit 4237e6d2 authored by Dominik Taborsky's avatar Dominik Taborsky
Browse files

requestor: fail when a request execution ends with request not finished but not failed either.

parent 4da29260
......@@ -274,7 +274,7 @@ static int exec_request(struct knot_requestor *req, struct knot_request *last,
}
/* Expect complete request. */
if (req->overlay.state == KNOT_STATE_FAIL) {
if (req->overlay.state != KNOT_STATE_DONE) {
ret = KNOT_LAYER_ERROR;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment