Radish alpha
H
rad:z3QDZAW2FAfuLvihrhiyDC9fAD8G9
HardenedBSD Package Manager
Radicle
Git
Print error if we cannot parse manifest.
Vsevolod Stakhov committed 11 years ago
commit 37ad99a154da2b4c9410fed177b64b40240a9ce5
parent 99d54e3
1 file changed +1 -0
modified libpkg/pkg_manifest.c
@@ -759,6 +759,7 @@ pkg_parse_manifest_fileat(int dfd, struct pkg *pkg, const char *file,

	p = ucl_parser_new(0);
	if (!ucl_parser_add_string(p, data, sz)) {
+
		pkg_emit_error("manifest parsing error: %s", ucl_parser_get_error(p));
		ucl_parser_free(p);
		return (EPKG_FATAL);
	}