Radish alpha
H
rad:z3QDZAW2FAfuLvihrhiyDC9fAD8G9
HardenedBSD Package Manager
Radicle
Git
Report when a package is not found in the database
Marin Atanasov Nikolov committed 15 years ago
commit bc473e4bbe445dfbba217e1a7f6ab7270b110d3a
parent 2c4f10c
2 files changed +4 -0
added pkg/.which.c.swp
modified pkg/which.c
@@ -55,7 +55,11 @@ exec_which(int argc, char **argv)
	} else if (ret != EPKG_END) {
		pkg_error_warn("can not iterate over results");
		retcode = -1;
+
	} else {
+
		printf("%s was not found in the database\n", pathabs);
+
		retcode = -1;
	}
+
		
	pkg_free(pkg);
	pkgdb_it_free(it);