Radish alpha
H
rad:z3QDZAW2FAfuLvihrhiyDC9fAD8G9
HardenedBSD Package Manager
Radicle
Git
autoremove: fix regression in recursion
Baptiste Daroussin committed 3 years ago
commit ff467214385697c403efda7ab62bb629f72f53c1
parent 1f83de3
1 file changed +1 -1
modified libpkg/pkg_jobs.c
@@ -657,7 +657,7 @@ is_orphaned(struct pkg_jobs *j, const char *uid)

	unit = pkg_jobs_universe_find(j->universe, uid);
	if (unit != NULL) {
-
		if (unit->pkg->automatic)
+
		if (!unit->pkg->automatic)
			return (false);
		npkg = unit->pkg;
	} else {