aboutsummaryrefslogtreecommitdiffstats
path: root/security/portaudit
diff options
context:
space:
mode:
authoreik <eik@FreeBSD.org>2004-08-24 01:39:12 +0800
committereik <eik@FreeBSD.org>2004-08-24 01:39:12 +0800
commitc2e7e3df0746f18ddb9080b328f7ef2a7f123055 (patch)
tree038bbcbaedd9a123442bd7aa10b41a86e3d69931 /security/portaudit
parent8782c206a69d78cc62383b91738b684ff58307d4 (diff)
downloadfreebsd-ports-graphics-c2e7e3df0746f18ddb9080b328f7ef2a7f123055.tar.gz
freebsd-ports-graphics-c2e7e3df0746f18ddb9080b328f7ef2a7f123055.tar.zst
freebsd-ports-graphics-c2e7e3df0746f18ddb9080b328f7ef2a7f123055.zip
fix "too many open files" error when using the -r flag
Noted by: nectar
Diffstat (limited to 'security/portaudit')
-rw-r--r--security/portaudit/Makefile2
-rw-r--r--security/portaudit/files/portaudit-cmd.sh2
2 files changed, 2 insertions, 2 deletions
diff --git a/security/portaudit/Makefile b/security/portaudit/Makefile
index 45c65511e20..0cd98ab8b5e 100644
--- a/security/portaudit/Makefile
+++ b/security/portaudit/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= portaudit
-PORTVERSION= 0.5.3
+PORTVERSION= 0.5.4
CATEGORIES= security
DISTFILES=
diff --git a/security/portaudit/files/portaudit-cmd.sh b/security/portaudit/files/portaudit-cmd.sh
index e157fc3bcdd..f69a7269bd8 100644
--- a/security/portaudit/files/portaudit-cmd.sh
+++ b/security/portaudit/files/portaudit-cmd.sh
@@ -184,7 +184,7 @@ audit_file()
cmd="'"$pkg_version"' -T - \"" $1 "\" <\"'"$FILE"'\""
while((cmd | getline pkg) > 0) {
if ($2 !~ /'"$opt_restrict"'/)
- next
+ continue
vul++
print_affected(pkg)
}