aboutsummaryrefslogtreecommitdiffstats
path: root/Mk/bsd.port.mk
diff options
context:
space:
mode:
authorbdrewery <bdrewery@FreeBSD.org>2014-09-22 23:22:58 +0800
committerbdrewery <bdrewery@FreeBSD.org>2014-09-22 23:22:58 +0800
commitdb221fd043f932d3adfce65c13f2e5d2015129b3 (patch)
tree8c565e20c20076224e381039b92e2939f746c7f2 /Mk/bsd.port.mk
parent2521a8ff9d91f55673289c6e8b85e489b5aab9ea (diff)
downloadfreebsd-ports-gnome-db221fd043f932d3adfce65c13f2e5d2015129b3.tar.gz
freebsd-ports-gnome-db221fd043f932d3adfce65c13f2e5d2015129b3.tar.zst
freebsd-ports-gnome-db221fd043f932d3adfce65c13f2e5d2015129b3.zip
- Fix check-vulerable exiting without printing message since pkg-1.3.4 fixed
'pkg audit' to return non-zero. With hat: portmgr
Diffstat (limited to 'Mk/bsd.port.mk')
-rw-r--r--Mk/bsd.port.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/Mk/bsd.port.mk b/Mk/bsd.port.mk
index 201e44755d5f..36dfb64084b2 100644
--- a/Mk/bsd.port.mk
+++ b/Mk/bsd.port.mk
@@ -3141,7 +3141,7 @@ check-vulnerable:
.if !defined(DISABLE_VULNERABILITIES) && !defined(PACKAGE_BUILDING)
@if [ -f "${AUDITFILE}" ]; then \
if [ -x "${PKG_BIN}" ]; then \
- vlist=`${PKG_BIN} audit "${PKGNAME}"`; \
+ vlist=`${PKG_BIN} audit "${PKGNAME}" || :`; \
if [ "$${vlist}" = "0 problem(s) in the installed packages found." ]; then \
vlist=""; \
fi; \