diff --git a/lib/libalpm/dload.c b/lib/libalpm/dload.c index 59ccdcd4..424be680 100644 --- a/lib/libalpm/dload.c +++ b/lib/libalpm/dload.c @@ -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 {