mirror of
https://github.com/checkpoint-restore/criu
synced 2025-08-31 14:25:49 +00:00
flock: Don't hide image read error on flocks restore
Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
This commit is contained in:
@@ -241,14 +241,10 @@ static int restore_file_locks(int pid)
|
||||
|
||||
ret = restore_file_lock(fle);
|
||||
file_lock_entry__free_unpacked(fle, NULL);
|
||||
|
||||
if (ret)
|
||||
goto err;
|
||||
break;
|
||||
}
|
||||
|
||||
close_safe(&fd);
|
||||
return 0;
|
||||
err:
|
||||
close_safe(&fd);
|
||||
return ret;
|
||||
}
|
||||
|
Reference in New Issue
Block a user