Commit bd58fce1 authored by Pavel Emelyanov's avatar Pavel Emelyanov

core: Sanitize check_core return evaluation

Signed-off-by: 's avatarPavel Emelyanov <xemul@parallels.com>
parent 1133ed73
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment