From: Michael Brown Date: Fri, 19 Jan 2007 14:00:51 +0000 (+0000) Subject: Propagate return status code from last child to fail. X-Git-Tag: v0.9.3~527 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1411876e2679cedf0177e4dc3221a7ee2a21855a;p=thirdparty%2Fipxe.git Propagate return status code from last child to fail. --- diff --git a/src/core/resolv.c b/src/core/resolv.c index 61bdfb092..60195ba9b 100644 --- a/src/core/resolv.c +++ b/src/core/resolv.c @@ -113,7 +113,7 @@ static void resolv_sigchld ( struct async *async, /* If we have no children left, return failure */ if ( --(resolution->pending) == 0 ) - async_done ( async, -ENXIO ); + async_done ( async, rc ); } /**