mirror of
https://github.com/ipxe/ipxe
synced 2026-02-14 02:31:26 +03:00
Propagate return status code from last child to fail.
This commit is contained in:
@@ -113,7 +113,7 @@ static void resolv_sigchld ( struct async *async,
|
|||||||
|
|
||||||
/* If we have no children left, return failure */
|
/* If we have no children left, return failure */
|
||||||
if ( --(resolution->pending) == 0 )
|
if ( --(resolution->pending) == 0 )
|
||||||
async_done ( async, -ENXIO );
|
async_done ( async, rc );
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user