libalpm: set errno if child exited via signal

This commit is contained in:
morganamilo 2025-05-23 14:53:18 +01:00 committed by Allan McRae
parent 528709131f
commit 6fcecbd08d

View file

@ -1023,6 +1023,7 @@ static int curl_download_internal_sandboxed(alpm_handle_t *handle,
if(wret > 0) {
if(!WIFEXITED(ret)) {
/* the child did not terminate normally */
handle->pm_errno = ALPM_ERR_RETRIEVE;
ret = -1;
}
else {