summaryrefslogtreecommitdiff
path: root/lib/libalpm/package.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libalpm/package.c')
-rw-r--r--lib/libalpm/package.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libalpm/package.c b/lib/libalpm/package.c
index d4341819..dbe3c982 100644
--- a/lib/libalpm/package.c
+++ b/lib/libalpm/package.c
@@ -1103,7 +1103,7 @@ pmpkg_t *_alpm_pkg_load(const char *pkgfile, unsigned short full)
if(!config) {
_alpm_log(PM_LOG_ERROR, _("missing package metadata in %s\n"), pkgfile);
- goto error;
+ goto pkg_invalid;
}
archive_read_finish(archive);