mirror of
https://github.com/checkpoint-restore/criu
synced 2025-08-30 05:48:05 +00:00
core: Sanitize check_core return evaluation
Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
This commit is contained in:
parent
1133ed73bd
commit
bd58fce18f
@ -782,7 +782,7 @@ static int check_core(CoreEntry *core)
|
|||||||
|
|
||||||
ret = 0;
|
ret = 0;
|
||||||
out:
|
out:
|
||||||
return ret < 0 ? ret : 0;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
static int restore_one_task(int pid, CoreEntry *core)
|
static int restore_one_task(int pid, CoreEntry *core)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user