Fix broken rsync exitcode shift. (trunk r6122:6123)
authorZac Medico <zmedico@gentoo.org>
Thu, 1 Mar 2007 23:47:46 +0000 (23:47 -0000)
committerZac Medico <zmedico@gentoo.org>
Thu, 1 Mar 2007 23:47:46 +0000 (23:47 -0000)
svn path=/main/branches/2.1.2/; revision=6124

bin/emerge

index 53d925c418ee54ae3366f079f5055507c63255fc..9d9d0b7f4284e541ed4bbcd4a4d71a2540b87464 100755 (executable)
@@ -3964,7 +3964,7 @@ def action_sync(settings, trees, mtimedb, myopts, myaction):
                                                if exitcode & 0xff:
                                                        exitcode = (exitcode & 0xff) << 8
                                                else:
-                                                       exitcode >> 8
+                                                       exitcode = exitcode >> 8
                                if mypids:
                                        portage_exec.spawned_pids.remove(mypids[0])
                                if content: