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

pym/emerge/__init__.py

index 256140df5e5685d022404153f0ee0f575036df56..0ff2b9efddf2301e8485582b275b8d39def6b7b2 100644 (file)
@@ -4024,7 +4024,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.process.spawned_pids.remove(mypids[0])
                                if content: