From: Serge Hallyn Date: Thu, 25 Apr 2013 03:47:50 +0000 (-0500) Subject: Revert "monitor.c: sanity check on waitpid return value" X-Git-Tag: lxc-1.0.0.alpha1~1^2~262 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f05699d19e27567583b9397a8d529e8aa275f5e1;p=thirdparty%2Flxc.git Revert "monitor.c: sanity check on waitpid return value" It's reported to errors in parallel starts. Reported-by: "S.Çağlar Onur" This reverts commit 6b7916695264238a490971e8cd87612154fc18b1. --- diff --git a/src/lxc/monitor.c b/src/lxc/monitor.c index 5d655bd1a..0521e9ab3 100644 --- a/src/lxc/monitor.c +++ b/src/lxc/monitor.c @@ -207,8 +207,7 @@ int lxc_monitord_spawn(const char *lxcpath) } if (pid1) { - if (waitpid(pid1, NULL, 0) != pid1) - SYSERROR("unexpected waitpid return value on double-fork"); + waitpid(pid1, NULL, 0); return 0; }