diff --git a/cr-restore.c b/cr-restore.c index 4d13bd9c9..79aa7f966 100644 --- a/cr-restore.c +++ b/cr-restore.c @@ -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)