index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
-rw-r--r-- | lib/libalpm/be_package.c | 2 |
diff --git a/lib/libalpm/be_package.c b/lib/libalpm/be_package.c index 2566574d..0e58d20a 100644 --- a/lib/libalpm/be_package.c +++ b/lib/libalpm/be_package.c @@ -308,7 +308,7 @@ alpm_pkg_t *_alpm_pkg_load_internal(alpm_handle_t *handle, const char *pkgfile, newpkg->size = st.st_size; } else { /* couldn't stat the pkgfile, return an error */ - RET_ERR(handle, ALPM_ERR_PKG_OPEN, NULL); + RET_ERR(handle, ALPM_ERR_PKG_NOT_FOUND, NULL); } /* can we get away with skipping checksums? */ |