summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--pym/portage/output.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/pym/portage/output.py b/pym/portage/output.py
index b4877b30d..cd140f016 100644
--- a/pym/portage/output.py
+++ b/pym/portage/output.py
@@ -194,7 +194,8 @@ def xtermTitleReset():
if prompt_command == "":
default_xterm_title = ""
elif prompt_command is not None:
- default_xterm_title = commands.getoutput(prompt_command)
+ os.system(prompt_command)
+ return
else:
pwd = os.getenv('PWD','')
home = os.getenv('HOME', '')