diff options
author | Brian Harring <ferringb@gentoo.org> | 2005-12-14 06:28:31 +0000 |
---|---|---|
committer | Brian Harring <ferringb@gentoo.org> | 2005-12-14 06:28:31 +0000 |
commit | 673b17394c37e285f532f77b7ddb752a72ebe4b2 (patch) | |
tree | 00f0bc5712dc734dfb9fec8c6dc88a8af5da2663 | |
parent | 45fc459ab63251aac14162cbb9b783aafd711532 (diff) | |
download | portage-673b17394c37e285f532f77b7ddb752a72ebe4b2.tar.gz portage-673b17394c37e285f532f77b7ddb752a72ebe4b2.tar.bz2 portage-673b17394c37e285f532f77b7ddb752a72ebe4b2.zip |
Use soft limit, not hard limit.
svn path=/main/trunk/; revision=2365
-rw-r--r-- | pym/portage_exec.py | 2 |
1 files changed, 1 insertions, 1 deletions
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 |