2
0
mirror of https://github.com/checkpoint-restore/criu synced 2025-08-30 13:58:34 +00:00

dump: return a negative value in case of error

Signed-off-by: Andrey Vagin <avagin@openvz.org>
Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
This commit is contained in:
Andrey Vagin
2012-04-07 00:22:00 +04:00
committed by Pavel Emelyanov
parent fa11d76cab
commit 32b5aa76e0

View File

@@ -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;
}