summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2007-09-28 18:11:45 +0000
committerZac Medico <zmedico@gentoo.org>2007-09-28 18:11:45 +0000
commit621888256807f36dea24ca354398a95ad8806dd0 (patch)
tree593e3c0c9acbc0458b4fbca0778077cfc08eaa52
parente712d878ba0921bfd7090aced860bc315c264ceb (diff)
downloadportage-621888256807f36dea24ca354398a95ad8806dd0.tar.gz
portage-621888256807f36dea24ca354398a95ad8806dd0.tar.bz2
portage-621888256807f36dea24ca354398a95ad8806dd0.zip
Bug #193548 - When emerge spawns find to search for config updates,
show the find output if there is an error. svn path=/main/trunk/; revision=7871
-rw-r--r--pym/emerge/__init__.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/pym/emerge/__init__.py b/pym/emerge/__init__.py
index 5fd783225..57ca82d33 100644
--- a/pym/emerge/__init__.py
+++ b/pym/emerge/__init__.py
@@ -4548,7 +4548,8 @@ def chk_updated_cfg_files(target_root, config_protect):
a = commands.getstatusoutput(mycommand + \
" ! -iname '.*~' ! -iname '.*.bak' -print0")
if a[0] != 0:
- print >> sys.stderr, " " + bad("*")+ " error scanning '%s'" % x
+ print >> sys.stderr, " " + bad("*")+ \
+ " error scanning '%s': %s" % (x, a[1])
else:
files = a[1].split('\0')
# split always produces an empty string as the last element