diff options
author | Michael Brown | 2007-01-19 15:00:51 +0100 |
---|---|---|
committer | Michael Brown | 2007-01-19 15:00:51 +0100 |
commit | 1411876e2679cedf0177e4dc3221a7ee2a21855a (patch) | |
tree | 52fa5e3089c05d449c8d8b0d96446d60faeba8b4 /src/core/resolv.c | |
parent | Handle structured error codes. (diff) | |
download | ipxe-1411876e2679cedf0177e4dc3221a7ee2a21855a.tar.gz ipxe-1411876e2679cedf0177e4dc3221a7ee2a21855a.tar.xz ipxe-1411876e2679cedf0177e4dc3221a7ee2a21855a.zip |
Propagate return status code from last child to fail.
Diffstat (limited to 'src/core/resolv.c')
-rw-r--r-- | src/core/resolv.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/resolv.c b/src/core/resolv.c index 61bdfb09..60195ba9 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 ); } /** |