mirror of
https://github.com/checkpoint-restore/criu
synced 2025-08-29 13:28:27 +00:00
restore: return -1 if fail
In cr_dump_tasks() we expect restore_root_task to return < 0 if error ocures. Signed-off-by: Ruslan Kuprieiev <kupruser@gmail.com> Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
This commit is contained in:
parent
5debac7e79
commit
05f3e17a01
@ -1778,7 +1778,7 @@ out_kill:
|
||||
out:
|
||||
__restore_switch_stage(CR_STATE_FAIL);
|
||||
pr_err("Restoring FAILED.\n");
|
||||
return 1;
|
||||
return -1;
|
||||
}
|
||||
|
||||
static int prepare_task_entries(void)
|
||||
|
Loading…
x
Reference in New Issue
Block a user