libalpm: set errno if child exited via signal
This commit is contained in:
parent
528709131f
commit
6fcecbd08d
1 changed files with 1 additions and 0 deletions
|
@ -1023,6 +1023,7 @@ static int curl_download_internal_sandboxed(alpm_handle_t *handle,
|
||||||
if(wret > 0) {
|
if(wret > 0) {
|
||||||
if(!WIFEXITED(ret)) {
|
if(!WIFEXITED(ret)) {
|
||||||
/* the child did not terminate normally */
|
/* the child did not terminate normally */
|
||||||
|
handle->pm_errno = ALPM_ERR_RETRIEVE;
|
||||||
ret = -1;
|
ret = -1;
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
|
Loading…
Add table
Reference in a new issue