summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xbin/emerge3
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/emerge b/bin/emerge
index 093496ced..94aa6b0a1 100755
--- a/bin/emerge
+++ b/bin/emerge
@@ -4531,7 +4531,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