Radish alpha
H
rad:z3QDZAW2FAfuLvihrhiyDC9fAD8G9
HardenedBSD Package Manager
Radicle
Git
Fix a regression pkg info -q -O should always return 0 and output only output nothing to stderr
Baptiste Daroussin committed 13 years ago
commit f660295c578f79eb23d96f240f05b3ebc111f100
parent 4c92f82
1 file changed +2 -0
modified pkg/info.c
@@ -212,6 +212,8 @@ exec_info(int argc, char **argv)
	} else if (ret == EPKG_ENODB) {
		if (match == MATCH_ALL)
			return (EX_OK);
+
		if (origin_search)
+
			return (EX_OK);
		if (!quiet)
			warnx("No packages installed");
		return (EX_UNAVAILABLE);