Commit c6b79bd3 authored by Pavel Emelyanov's avatar Pavel Emelyanov

service: Don't forget to send dump-failed message

Signed-off-by: 's avatarPavel Emelyanov <xemul@parallels.com>
parent 5f47e0a6
...@@ -161,9 +161,9 @@ static int dump_using_req(CriuDumpReq *req) ...@@ -161,9 +161,9 @@ static int dump_using_req(CriuDumpReq *req)
goto exit; goto exit;
} }
if (req->has_leave_running && req->leave_running) {
success = true; success = true;
exit: exit:
if (req->has_leave_running && req->leave_running) {
if (send_criu_dump_resp(cr_service_client->sk_fd, if (send_criu_dump_resp(cr_service_client->sk_fd,
success, false) == -1) { success, false) == -1) {
pr_perror("Can't send response"); pr_perror("Can't send response");
......
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