Radish alpha
H
rad:z3QDZAW2FAfuLvihrhiyDC9fAD8G9
HardenedBSD Package Manager
Radicle
Git
Return non 0 is package creation is failing
Baptiste Daroussin committed 12 years ago
commit b6edb6a3b2e32ab88390e6b55fe1a63e4ec5f39b
parent 136ae8f
1 file changed +3 -1
modified src/create.c
@@ -127,9 +127,11 @@ pkg_create_matches(int argc, char **argv, match_t match, pkg_formats fmt,
			STAILQ_INSERT_TAIL(&head, e, next);
			foundone = true;
		}
-
		if (!foundone)
+
		if (!foundone) {
			warnx("No installed package matching \"%s\" found\n",
			    argv[i]);
+
			retcode++;
+
		}

		pkgdb_it_free(it);
		if (ret != EPKG_END)