Skip to content
Snippets Groups Projects
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
No related branches found
No related tags found
1 merge request!363requestor: fail when a request execution ends with request not finished but not failed either.
......@@ -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;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment