Radish alpha
H
HardenedBSD Package Manager
Radicle
Git (anonymous pull)
Log in to clone via SSH
In case of failure parsing pkg.conf give a more informative message
Baptiste Daroussin committed 11 years ago
commit e0ede9bf209cec463b7cc21a15da37f2ccf16998
parent 64f224cef6b132784d66ca24794b24827f22d149
1 file changed +1 -1
modified libpkg/pkg_config.c
@@ -777,7 +777,7 @@ pkg_init(const char *path, const char *reposdir)
	obj = NULL;
	if (!ucl_parser_add_file(p, path)) {
		if (errno != ENOENT)
-
			pkg_emit_error("%s", ucl_parser_get_error(p));
+
			pkg_emit_error("Invalid configuration file: %s", ucl_parser_get_error(p));
	} else {
		obj = ucl_parser_get_object(p);