Radish alpha
H
HardenedBSD Package Manager
Radicle
Git (anonymous pull)
Log in to clone via SSH
libpkg: add the path when we fail to do a 3way merge
Kyle Evans committed 0 years ago
commit 021456dd006ec7980e48558cf7e0987477f4a354
parent fb98d4683fac351b28190b8b78b7f2b63de8b86c
1 file changed +1 -1
modified libpkg/pkg_add.c
@@ -247,7 +247,7 @@ attempt_to_merge(int rootfd, struct pkg_config_file *rcf, struct pkg *local,
	newconf = xstring_new();
	if (merge_3way(lcf->content, localconf, rcf->content, newconf) != 0) {
		xstring_free(newconf);
-
		pkg_emit_error("Impossible to merge configuration file");
+
		pkg_emit_error("Impossible to merge configuration file: %s", rcf->path);
	} else {
		char *conf = xstring_get(newconf);
		rcf->newcontent = conf;