2
0
mirror of https://github.com/checkpoint-restore/criu synced 2025-08-31 14:25:49 +00:00

file: More detailed error on cwd restore

Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org>
Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
This commit is contained in:
Cyrill Gorcunov
2013-03-20 13:31:28 +04:00
committed by Pavel Emelyanov
parent 5b8ee16c5f
commit 31122183d2

View File

@@ -820,6 +820,7 @@ int prepare_fs(int pid)
cwd = open_reg_by_id(fe->cwd_id);
if (cwd < 0) {
pr_err("Can't open root %#x\n", fe->cwd_id);
close_safe(&ifd);
goto err;
}