From mboxrd@z Thu Jan  1 00:00:00 1970
Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org)
	by finch.gentoo.org with esmtp (Exim 4.60)
	(envelope-from <gentoo-commits+bounces-408546-garchives=archives.gentoo.org@lists.gentoo.org>)
	id 1RahSa-0008Ew-54
	for garchives@archives.gentoo.org; Wed, 14 Dec 2011 05:33:00 +0000
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id E94FB21C053;
	Wed, 14 Dec 2011 05:32:45 +0000 (UTC)
Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183])
	by pigeon.gentoo.org (Postfix) with ESMTP id BAA0A21C053
	for <gentoo-commits@lists.gentoo.org>; Wed, 14 Dec 2011 05:32:45 +0000 (UTC)
Received: from pelican.gentoo.org (unknown [66.219.59.40])
	(using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTPS id 3B6321B4029
	for <gentoo-commits@lists.gentoo.org>; Wed, 14 Dec 2011 05:32:45 +0000 (UTC)
Received: from localhost.localdomain (localhost [127.0.0.1])
	by pelican.gentoo.org (Postfix) with ESMTP id 67FC68004A
	for <gentoo-commits@lists.gentoo.org>; Wed, 14 Dec 2011 05:32:44 +0000 (UTC)
From: "Zac Medico" <zmedico@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Content-type: text/plain; charset=UTF-8
Reply-To: gentoo-dev@lists.gentoo.org, "Zac Medico" <zmedico@gentoo.org>
Message-ID: <7bcb8e14d52c51904d42ccb1df49f481df2be9dd.zmedico@gentoo>
Subject: [gentoo-commits] proj/portage:master commit in: bin/
X-VCS-Repository: proj/portage
X-VCS-Files: bin/ebuild-ipc.py
X-VCS-Directories: bin/
X-VCS-Committer: zmedico
X-VCS-Committer-Name: Zac Medico
X-VCS-Revision: 7bcb8e14d52c51904d42ccb1df49f481df2be9dd
Date: Wed, 14 Dec 2011 05:32:44 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
Content-Transfer-Encoding: quoted-printable
X-Archives-Salt: 6c395c04-c099-4c7d-ac61-6161d0b89ec7
X-Archives-Hash: 87bc3d2754f8234dc071946c03397798

commit:     7bcb8e14d52c51904d42ccb1df49f481df2be9dd
Author:     Zac Medico <zmedico <AT> gentoo <DOT> org>
AuthorDate: Wed Dec 14 05:32:32 2011 +0000
Commit:     Zac Medico <zmedico <AT> gentoo <DOT> org>
CommitDate: Wed Dec 14 05:32:32 2011 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=3Dproj/portage.git;a=
=3Dcommit;h=3D7bcb8e14

ebuild-ipc.py: return 2 when forked child crashes

---
 bin/ebuild-ipc.py |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/bin/ebuild-ipc.py b/bin/ebuild-ipc.py
index 372585f..29d4c23 100755
--- a/bin/ebuild-ipc.py
+++ b/bin/ebuild-ipc.py
@@ -229,7 +229,7 @@ class EbuildIpc(object):
 		pid =3D os.fork()
=20
 		if pid =3D=3D 0:
-			retval =3D 1
+			retval =3D 2
 			try:
 				os.close(pr)
=20
@@ -267,7 +267,7 @@ class EbuildIpc(object):
 		pid =3D os.fork()
=20
 		if pid =3D=3D 0:
-			retval =3D 1
+			retval =3D 2
 			try:
 				os.close(pr)
 				retval =3D self._receive_reply(input_fd)