Radish alpha
H
rad:z3QDZAW2FAfuLvihrhiyDC9fAD8G9
HardenedBSD Package Manager
Radicle
Git
Actually it should return a boolean
Baptiste Daroussin committed 13 years ago
commit 716d8ca1c0ede0f7553a11132c089236b9b66121
parent 6973db2
1 file changed +1 -1
modified libpkg/pkg_ports.c
@@ -464,7 +464,7 @@ should_be_post(char *cmd, struct plist *p)
		parse_post(p);

	if (p->post_patterns == NULL)
-
		return;
+
		return (false);

	for (i = 0; i < p->post_patterns->sl_cur; i++)
		if (strstr(cmd, p->post_patterns->sl_str[i]))