Radish alpha
H
rad:z3QDZAW2FAfuLvihrhiyDC9fAD8G9
HardenedBSD Package Manager
Radicle
Git
Merge branch 'master' of github.com:pkgng/pkgng
Baptiste Daroussin committed 14 years ago
commit e8eae19312e2e26d06dec4636519084f468a4842
parent 73e749f
1 file changed +1 -3
modified pkg/autoremove.c
@@ -85,9 +85,7 @@ exec_autoremove(int argc, char **argv)
		humanize_number(size, sizeof(size), newsize - oldsize, "B", HN_AUTOSCALE, 0);
	}

-
	/* check if there is something to be autoremoved */
-
	pkg = NULL;
-
	if (pkg_jobs(jobs, &pkg) != EPKG_OK)
+
	if (pkg_jobs_isempty(jobs))
		goto cleanup;

	pkg = NULL;