Bug #193548 - When emerge spawns find to search for config updates,
authorZac Medico <zmedico@gentoo.org>
Fri, 28 Sep 2007 18:13:58 +0000 (18:13 -0000)
committerZac Medico <zmedico@gentoo.org>
Fri, 28 Sep 2007 18:13:58 +0000 (18:13 -0000)
show the find output if there is an error. (trunk r7871)

svn path=/main/branches/2.1.2/; revision=7872

bin/emerge

index 093496ced531db08ecbc57988974ed46bddcdf29..94aa6b0a18f9c31eb332737856f6d5a2a5d13fcb 100755 (executable)
@@ -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