summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--pym/portage/data.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pym/portage/data.py b/pym/portage/data.py
index 6d19b6455..ff23dbe00 100644
--- a/pym/portage/data.py
+++ b/pym/portage/data.py
@@ -106,7 +106,7 @@ else:
from subprocess import getstatusoutput
except ImportError:
from commands import getstatusoutput
- mystatus, myoutput = getstatusoutput("id -G portage")
+ mystatus, myoutput = getstatusoutput("id -G %s" % PORTAGE_USERNAME)
if mystatus == os.EX_OK:
for x in myoutput.split():
try: