index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Dan McGee <dan@archlinux.org> | 2010-06-20 21:01:32 -0500 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2010-06-20 21:01:32 -0500 |
commit | 67d71ea932a18d27dbb87f4f364ae9159b4edc96 (patch) | |
tree | 9a22c8ea93c530d0e5794ee42523450a4976bec3 /lib/libalpm | |
parent | 59c47aaf529df02ec1577fe727c3c84d13592666 (diff) | |
parent | c2cf6a14cf44400d0ef249b38d37eb04d3424bf4 (diff) |
-rw-r--r-- | lib/libalpm/sync.c | 6 |
diff --git a/lib/libalpm/sync.c b/lib/libalpm/sync.c index 67afd397..68ee8dc7 100644 --- a/lib/libalpm/sync.c +++ b/lib/libalpm/sync.c @@ -291,7 +291,11 @@ int _alpm_sync_target(alpm_list_t *dbs_sync, char *target) } if(!found) { - RET_ERR(PM_ERR_PKG_NOT_FOUND, -1); + /* pass through any 'found but ignored' errors */ + if(pm_errno != PM_ERR_PKG_IGNORED) { + pm_errno = PM_ERR_PKG_NOT_FOUND; + } + return(-1); } return(0); |