summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--pym/portage/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pym/portage/__init__.py b/pym/portage/__init__.py
index 4efc04f5b..4dcbec1eb 100644
--- a/pym/portage/__init__.py
+++ b/pym/portage/__init__.py
@@ -3763,7 +3763,7 @@ def doebuild(myebuild, mydo, myroot, mysettings, debug=0, listonly=0,
pr, pw = os.pipe()
fd_pipes = {0:0, 1:1, 2:2, 9:pw}
mypids = spawn(EBUILD_SH_BINARY + " depend", mysettings,
- fd_pipes=fd_pipes, returnpid=True)
+ fd_pipes=fd_pipes, returnpid=True, droppriv=1)
os.close(pw) # belongs exclusively to the child process now
maxbytes = 1024
mybytes = []