From 673b17394c37e285f532f77b7ddb752a72ebe4b2 Mon Sep 17 00:00:00 2001 From: Brian Harring Date: Wed, 14 Dec 2005 06:28:31 +0000 Subject: [PATCH] Use soft limit, not hard limit. svn path=/main/trunk/; revision=2365 --- pym/portage_exec.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pym/portage_exec.py b/pym/portage_exec.py index c62d0a549..79afbf76e 100644 --- a/pym/portage_exec.py +++ b/pym/portage_exec.py @@ -12,7 +12,7 @@ from portage_const import BASH_BINARY, SANDBOX_BINARY try: import resource - max_fd_limit = resource.getrlimit(resource.RLIMIT_NOFILE)[1] + max_fd_limit = resource.getrlimit(resource.RLIMIT_NOFILE)[0] except ImportError: max_fd_limit = 256 -- 2.26.2