diff --git a/files.c b/files.c index ee84b2f53..7844b0ef2 100644 --- a/files.c +++ b/files.c @@ -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)