Radish alpha
H
rad:z3QDZAW2FAfuLvihrhiyDC9fAD8G9
HardenedBSD Package Manager
Radicle
Git
Add debug information about what file is being deleted
Baptiste Daroussin committed 11 years ago
commit 9ad2f92cf9bee6af8a77a5bf6e45a90ae774288d
parent 937f1e5
1 file changed +1 -0
modified libpkg/pkg_delete.c
@@ -318,6 +318,7 @@ pkg_delete_file(struct pkg *pkg, struct pkg_file *file, unsigned force)
		}
	}
#endif
+
	pkg_debug(1, "Deleting file: '%s'", path);
	if (unlinkat(pkg->rootfd, path, 0) == -1) {
		if (force < 2)
			pkg_emit_errno("unlinkat", path);