Commit 32b5aa76 authored by Andrey Vagin's avatar Andrey Vagin Committed by Pavel Emelyanov

dump: return a negative value in case of error

Signed-off-by: 's avatarAndrey Vagin <avagin@openvz.org>
Signed-off-by: 's avatarPavel Emelyanov <xemul@parallels.com>
parent fa11d76c
......@@ -1394,6 +1394,7 @@ static int dump_one_task(const struct pstree_item *item)
parasite_ctl = parasite_infect_seized(pid, &vma_area_list);
if (!parasite_ctl) {
ret = -1;
pr_err("Can't infect (pid: %d) with parasite\n", pid);
goto err;
}
......
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