Radish alpha
H
HardenedBSD Package Manager
Radicle
Git (anonymous pull)
Log in to clone via SSH
Do no print message if pkg register failed
Baptiste Daroussin committed 11 years ago
commit 318091ab9b75d8a6e284db14c65ab40c73a78d5b
parent 1ed9beddd217350c543f22577ed098071956e3dc
1 file changed +1 -1
modified src/register.c
@@ -320,7 +320,7 @@ exec_register(int argc, char **argv)

	retcode = pkg_add_port(db, pkg, input_path, location, testing_mode);

-
	if (!legacy && pkg_has_message(pkg))
+
	if (!legacy && retcode != EPKG_OK && pkg_has_message(pkg))
		pkg_printf("%M\n", pkg);

	pkg_free(pkg);