Radish alpha
H
rad:z3QDZAW2FAfuLvihrhiyDC9fAD8G9
HardenedBSD Package Manager
Radicle
Git
Use ${var} not $var
Dan Langille committed 4 years ago
commit acc51bc5387021fb1040d9f653f69435862b634e
parent dac1725
1 file changed +3 -3
modified scripts/periodic/410.pkg-audit.in
@@ -156,12 +156,12 @@ audit_pkgs_all() {
		;;
	esac

-
	for j in $jails ; do
+
	for j in ${jails} ; do
		# ignore some jails
		# we iterate to get exact matches because we want substring matches
		# foo should not match foo.bar
-
		for ignore in $security_status_pkgaudit_jails_ignore ; do
-
			if [ "${j%|*}" = "$ignore" ]; then
+
		for ignore in ${security_status_pkgaudit_jails_ignore} ; do
+
			if [ "${j%|*}" = "${ignore}" ]; then
				echo
				echo "ignoring jail: ${j%|*}"
				# continue with the main loop