Radish alpha
H
rad:z3QDZAW2FAfuLvihrhiyDC9fAD8G9
HardenedBSD Package Manager
Radicle
Git
Add a debug information about the counter
Baptiste Daroussin committed 11 years ago
commit 25fd60690e5cc44ea3bac60c6a2cca826ca676be
parent 79e26f7
1 file changed +1 -0
modified libpkg/pkg_delete.c
@@ -166,6 +166,7 @@ rmdir_p(struct pkgdb *db, struct pkg *pkg, char *dir, const char *prefix_r)
	if (pkgdb_is_dir_used(db, dir, &cnt) != EPKG_OK)
		return;

+
	pkg_debug(1, "Number of packages owning %d\n", cnt);
	if (cnt > 1)
		return;