From 6b52f959855838ae7d2f0ca42cff742be696cc1a Mon Sep 17 00:00:00 2001 From: Alexis Christoforides Date: Fri, 8 Nov 2019 11:40:04 -0500 Subject: [PATCH] [merp] Remove extraneous waitpid invocation (mono/mono#17723) The extraneous call basically guarantees that the call right after will fail. Fixes merp stating that its process has failed when it hasn't. Commit migrated from https://github.com/mono/mono/commit/23f2baa71ed905e3298c10189adec8134bc6ed7c --- src/mono/mono/utils/mono-merp.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/mono/mono/utils/mono-merp.c b/src/mono/mono/utils/mono-merp.c index 514b04b..a3736ab 100644 --- a/src/mono/mono/utils/mono-merp.c +++ b/src/mono/mono/utils/mono-merp.c @@ -343,7 +343,6 @@ mono_merp_send (MERPStruct *merp) exit (-1); } else { int status; - waitpid (pid, &status, 0); int exit_status = FALSE; while (TRUE) { -- 2.7.4