server: Set a proper error code when dup_fd_object fails.
1 file changed