xbps_pkg_reverts: this function can do more than just return false!

This commit is contained in:
Enno Boland 2014-09-23 21:18:47 +02:00
parent f7a5d459d7
commit b5a169b65c

View File

@ -442,7 +442,7 @@ xbps_pkg_reverts(xbps_dictionary_t pkg, const char *pkgver) {
for (i = 0; i < xbps_array_count(reverts); i++) {
xbps_array_get_cstring_nocopy(reverts, i, &revertver);
if (strcmp(version, revertver) == 0) {
return false;
return true;
}
}