2
0
mirror of https://github.com/checkpoint-restore/criu synced 2025-08-31 06:15:24 +00:00

files: Don't call for run_unix_connections if there error happened earlier

It doesn't make sense to try to connect sockets if error
happened previously.

Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org>
Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
This commit is contained in:
Cyrill Gorcunov
2012-04-10 18:47:00 +04:00
committed by Pavel Emelyanov
parent 611343a50c
commit 827f1a2f0b

View File

@@ -477,7 +477,10 @@ int prepare_fds(int pid)
close(fdinfo_fd);
return run_unix_connections();
if (!ret)
ret = run_unix_connections();
return ret;
}
int prepare_fs(int pid)