mirror of
https://github.com/xcat2/xNBA.git
synced 2024-12-14 07:11:32 +00:00
Propagate return status code from last child to fail.
This commit is contained in:
parent
cde6d776e3
commit
1411876e26
@ -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 );
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user