diff --git a/lib/libalpm/package.c b/lib/libalpm/package.c index 363cf313..287c2ce4 100644 --- a/lib/libalpm/package.c +++ b/lib/libalpm/package.c @@ -1080,7 +1080,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);