Radish alpha
H
rad:z3QDZAW2FAfuLvihrhiyDC9fAD8G9
HardenedBSD Package Manager
Radicle
Git
jobs: remove useless test
Baptiste Daroussin committed 2 years ago
commit 314d3cb3842063d1b929c6b8edd00905d8144dd6
parent ab3f432
1 file changed +1 -1
modified libpkg/pkg_jobs.c
@@ -876,7 +876,7 @@ pkg_jobs_try_remote_candidate(struct pkg_jobs *j, const char *cond, const char *
	if ((it = pkgdb_repo_query_cond(j->db, cond, pattern, m, j->reponame)) == NULL)
		return (EPKG_FATAL);

-
	while (it != NULL && pkgdb_it_next(it, &p, flags) == EPKG_OK) {
+
	while (pkgdb_it_next(it, &p, flags) == EPKG_OK) {
		xstring_renew(qmsg);
		if (pkg_jobs_has_replacement(j, p->uid)) {
			pkg_debug(1, "replacement %s is already used", p->uid);