Radish alpha
H
HardenedBSD Package Manager
Radicle
Git (anonymous pull)
Log in to clone via SSH
Add debug information about what file is being deleted
Baptiste Daroussin committed 11 years ago
commit 9ad2f92cf9bee6af8a77a5bf6e45a90ae774288d
parent 937f1e5ac47fb07aed3d28681632d52c2b567d86
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);