Radish alpha
H
rad:z3QDZAW2FAfuLvihrhiyDC9fAD8G9
HardenedBSD Package Manager
Radicle
Git
Fix check of database age: it's $now - $then
Alberto Villa committed 13 years ago
commit 676b1f26da548d3f8dd6cf91b94a819c3150f4df
parent c8f4aff
1 file changed +1 -1
modified scripts/periodic/410.pkg-audit
@@ -61,7 +61,7 @@ case "${daily_status_security_pkgaudit_enable:-YES}" in
		[ $rc -ne 0 ] && break
		# Add 10 minutes of padding since the check is in seconds.
		if [ $(( 86400 \* "${daily_status_security_pkgaudit_expiry:-2}" )) \
-
			-le $(( ${then} - ${now} + 600 )) ]; then
+
			-le $(( ${now} - ${then} + 600 )) ]; then
			echo "Fetching a current audit database:"
			echo
			/usr/local/sbin/pkg audit -F || { \