Commit 827f1a2f authored by Cyrill Gorcunov's avatar Cyrill Gorcunov Committed by Pavel Emelyanov

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: 's avatarCyrill Gorcunov <gorcunov@openvz.org>
Signed-off-by: 's avatarPavel Emelyanov <xemul@parallels.com>
parent 611343a5
...@@ -477,7 +477,10 @@ int prepare_fds(int pid) ...@@ -477,7 +477,10 @@ int prepare_fds(int pid)
close(fdinfo_fd); close(fdinfo_fd);
return run_unix_connections(); if (!ret)
ret = run_unix_connections();
return ret;
} }
int prepare_fs(int pid) int prepare_fs(int pid)
......
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