Revert "main: explicitly error with --modversion and more than 1 package being queried"

This reverts commit a97b75ab2c.
pull/190/head
Ariadne Conill 2023-08-11 13:41:20 -07:00
parent de51b03cc1
commit fe69ccc6b9
1 changed files with 0 additions and 9 deletions

View File

@ -1326,16 +1326,7 @@ cleanup3:
* the limit, stop adding packages to the queue.
*/
if (maximum_package_count > 0 && pkgq.length >= maximum_package_count)
{
if ((want_flags & PKG_MODVERSION) == PKG_MODVERSION)
{
fprintf(stderr, "pkgconf: --modversion requested with multiple packages, output would be ambiguous\n");
ret = EXIT_FAILURE;
goto out;
}
break;
}
while (isspace((unsigned char)package[0]))
package++;