Radish alpha
H
HardenedBSD Package Manager
Radicle
Git (anonymous pull)
Log in to clone via SSH
Fix check of database age: it's $now - $then
Alberto Villa committed 14 years ago
commit 676b1f26da548d3f8dd6cf91b94a819c3150f4df
parent c8f4affbe4ab352454699fcdc7c398095d7bbde5
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 || { \