From 7bcb8e14d52c51904d42ccb1df49f481df2be9dd Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Tue, 13 Dec 2011 21:32:32 -0800 Subject: [PATCH] ebuild-ipc.py: return 2 when forked child crashes --- bin/ebuild-ipc.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/ebuild-ipc.py b/bin/ebuild-ipc.py index 372585f7b..29d4c23c6 100755 --- a/bin/ebuild-ipc.py +++ b/bin/ebuild-ipc.py @@ -229,7 +229,7 @@ class EbuildIpc(object): pid = os.fork() if pid == 0: - retval = 1 + retval = 2 try: os.close(pr) @@ -267,7 +267,7 @@ class EbuildIpc(object): pid = os.fork() if pid == 0: - retval = 1 + retval = 2 try: os.close(pr) retval = self._receive_reply(input_fd) -- 2.26.2