2
0
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:
Pavel Emelyanov 2013-07-08 19:10:11 +04:00
parent 1133ed73bd
commit bd58fce18f

View File

@ -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)