mirror of
https://github.com/checkpoint-restore/criu
synced 2025-08-29 13:28:27 +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;
|
||||
out:
|
||||
return ret < 0 ? ret : 0;
|
||||
return ret;
|
||||
}
|
||||
|
||||
static int restore_one_task(int pid, CoreEntry *core)
|
||||
|
Loading…
x
Reference in New Issue
Block a user